Table of Contents



pears.IQXNetMessageRecipient

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Description

Staff member who receives a particular type of message from IQXWeb - Payroll - Timesheet etc.

Columns

Column Type Null Default Comment
MessageType char(20) NOT NULL
StaffID char(20) NULL

Primary Key

Foreign Keys

Constraint Columns References Delete/update action
Staff StaffID pears.staff (staffid) ON DELETE SET NULL

Referenced By

Indexes

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."IQXNetMessageRecipient"
-- Table comment: Staff member who receives a particular type of message from IQXWeb - Payroll - Timesheet etc.
-- Statement count: 3
 
CREATE TABLE "pears"."IQXNetMessageRecipient" (
    "MessageType"                    CHAR(20) NOT NULL
   ,"StaffID"                        CHAR(20) NULL
   ,PRIMARY KEY ("MessageType" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."IQXNetMessageRecipient" IS 
	'Staff member who receives a particular type of message from IQXWeb - Payroll - Timesheet etc.'
GO
 
 
ALTER TABLE "pears"."IQXNetMessageRecipient"
    ADD FOREIGN KEY "Staff" ("StaffID" ASC)
    REFERENCES "pears"."staff" ("staffid")
    ON DELETE SET NULL
GO