pears.storedselectionmember
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Description
Link between Stored Selection and Person, Company, Vacancy, Placement records
Columns
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| storedselectionid | char(20) | NOT NULL | ||
| record | char(20) | NOT NULL |
Primary Key
- storedselectionid, record
Foreign Keys
| Constraint | Columns | References | Delete/update action |
|---|---|---|---|
| storedselection | storedselectionid | pears.storedselection (storedselectionid) | NOT NULL; ON DELETE CASCADE |
Referenced By
- No incoming foreign keys found.
Indexes
- No indexes found.
Triggers
- No triggers found.
Original SQL
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."storedselectionmember" -- Table comment: Link between Stored Selection and Person, Company, Vacancy, Placement records -- Statement count: 3 CREATE TABLE "pears"."storedselectionmember" ( "storedselectionid" CHAR(20) NOT NULL ,"record" CHAR(20) NOT NULL ,PRIMARY KEY ("storedselectionid" ASC,"record" ASC) ) GO COMMENT ON TABLE "pears"."storedselectionmember" IS 'Link between Stored Selection and Person, Company, Vacancy, Placement records' GO ALTER TABLE "pears"."storedselectionmember" ADD NOT NULL FOREIGN KEY "storedselection" ("storedselectionid" ASC) REFERENCES "pears"."storedselection" ("storedselectionid") ON DELETE CASCADE GO