====== pears.NominalSegmentDivision ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **NominalSegmentID** | char(20) | NOT NULL | | | | **DivisionID** | char(20) | NOT NULL | | | ===== Primary Key ===== * NominalSegmentID, DivisionID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | Division | DivisionID | [[database:tables:pears_division|pears.Division (divisionid)]] | 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"."NominalSegmentDivision" -- Table comment: -- Statement count: 2 CREATE TABLE "pears"."NominalSegmentDivision" ( "NominalSegmentID" char(20) NOT NULL ,"DivisionID" char(20) NOT NULL ,PRIMARY KEY ("NominalSegmentID" ASC,"DivisionID" ASC) ) go ALTER TABLE "pears"."NominalSegmentDivision" ADD NOT NULL FOREIGN KEY "Division" ("DivisionID" ASC) REFERENCES "pears"."Division" ("divisionid") ON DELETE CASCADE go