Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.storedselection ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== Stored selection headers. Individual records that constitute the selection are in StoredSelectionMember. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **storedselectionid** | char(20) | NOT NULL | | | | type | char(1) | NULL | | | | description | char(50) | NULL | | | | staffid | char(20) | NULL | | | ===== Primary Key ===== * storedselectionid ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | staff | staffid | [[database:tables:pears_staff|pears.staff (staffid)]] | ON DELETE CASCADE | ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_cascaderule|pears.CascadeRule]] | StoredSelection | AgencyStoredSelectionID | storedselectionid | | [[database:tables:pears_storedquicklookup|pears.StoredQuickLookup]] | StoredSelection | StoredSelectionID | storedselectionid | | [[database:tables:pears_storedselectionmember|pears.storedselectionmember]] | storedselection | storedselectionid | storedselectionid | | [[database:tables:pears_storedselectionstaff|pears.storedselectionstaff]] | storedselection | storedselectionid | storedselectionid | ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."storedselection" -- Table comment: Stored selection headers. Individual records that constitute the selection are in StoredSelectionMember. -- Statement count: 3 CREATE TABLE "pears"."storedselection" ( "storedselectionid" char(20) NOT NULL ,"type" char(1) NULL ,"description" char(50) NULL ,"staffid" char(20) NULL ,PRIMARY KEY ("storedselectionid" ASC) ) go COMMENT ON TABLE "pears"."storedselection" IS 'Stored selection headers. Individual records that constitute the selection are in StoredSelectionMember.' go ALTER TABLE "pears"."storedselection" ADD FOREIGN KEY "staff" ("staffid" ASC) REFERENCES "pears"."staff" ("staffid") ON DELETE CASCADE go </code> database/tables/pears_storedselection.txt Last modified: 2026/08/07 19:24by 127.0.0.1