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.StaffTeam ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **StaffTeamID** | char(20) | NOT NULL | | | | Description | char(50) | NULL | | | | OwnerID | char(20) | NULL | | | | SortOrder | integer | NULL | | | ===== Primary Key ===== * StaffTeamID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | Staff | OwnerID | [[database:tables:pears_staff|pears.staff (staffid)]] | ON DELETE CASCADE | ===== Referenced By ===== ^ Table ^ Constraint ^ Columns ^ Referenced columns ^ | [[database:tables:pears_staffteammember|pears.StaffTeamMember]] | StaffTeam | StaffTeamID | StaffTeamID | ===== 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"."StaffTeam" -- Table comment: -- Statement count: 2 CREATE TABLE "pears"."StaffTeam" ( "StaffTeamID" char(20) NOT NULL ,"Description" char(50) NULL ,"OwnerID" char(20) NULL ,"SortOrder" integer NULL ,PRIMARY KEY ("StaffTeamID" ASC) ) go ALTER TABLE "pears"."StaffTeam" ADD FOREIGN KEY "Staff" ("OwnerID" ASC) REFERENCES "pears"."staff" ("staffid") ON DELETE CASCADE go </code> database/tables/pears_staffteam.txt Last modified: 2026/08/07 19:24by 127.0.0.1