Table of Contents



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

Foreign Keys

Constraint Columns References Delete/update action
Division DivisionID pears.Division (divisionid) NOT NULL; ON DELETE CASCADE

Referenced By

Indexes

Triggers

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