Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Used for more than a single instance of the above.
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| ID | char(20) | NOT NULL | ||
| Topic | char(50) | NOT NULL | ||
| EmailAddress | char(250) | NOT NULL | ||
| DepartmentID | char(2) | NULL | ||
| DivisionID | char(20) | NULL | ||
| Body | long varchar | NULL |
| Constraint | Columns | References | Delete/update action |
|---|---|---|---|
| department | DepartmentID | pears.Department (departmentid) | ON DELETE SET NULL |
| division | DivisionID | pears.Division (divisionid) | ON DELETE SET NULL |
| Name | Type | Columns | Detail |
|---|---|---|---|
| EmailStaffNotifRecipTopic | Index | Topic, DepartmentID, DivisionID, EmailAddress |
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."EmailStaffNotificationAddress" -- Table comment: Used for more than a single instance of the above. -- Statement count: 5 CREATE TABLE "pears"."EmailStaffNotificationAddress" ( "ID" CHAR(20) NOT NULL ,"Topic" CHAR(50) NOT NULL ,"EmailAddress" CHAR(250) NOT NULL ,"DepartmentID" CHAR(2) NULL ,"DivisionID" CHAR(20) NULL ,"Body" long VARCHAR NULL ,PRIMARY KEY ("ID" ASC) ) GO COMMENT ON TABLE "pears"."EmailStaffNotificationAddress" IS 'Used for more than a single instance of the above.' GO ALTER TABLE "pears"."EmailStaffNotificationAddress" ADD FOREIGN KEY "department" ("DepartmentID" ASC) REFERENCES "pears"."Department" ("departmentid") ON DELETE SET NULL GO ALTER TABLE "pears"."EmailStaffNotificationAddress" ADD FOREIGN KEY "division" ("DivisionID" ASC) REFERENCES "pears"."Division" ("divisionid") ON DELETE SET NULL GO CREATE INDEX "EmailStaffNotifRecipTopic" ON "pears"."EmailStaffNotificationAddress" ( "Topic","DepartmentID","DivisionID","EmailAddress" ) GO