pears.CascadeDeliveryAddress
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Description
Seconday Agency delivery addresses and methods
Columns
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| CompanyID | char(20) | NOT NULL | ||
| DeliveryMethod | char(1) | NOT NULL | ||
| Address | char(250) | NULL |
Primary Key
- CompanyID
Foreign Keys
| Constraint | Columns | References | Delete/update action |
|---|---|---|---|
| Company | CompanyID | pears.Company (companyid) | 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"."CascadeDeliveryAddress" -- Table comment: Seconday Agency delivery addresses and methods -- Statement count: 3 CREATE TABLE "pears"."CascadeDeliveryAddress" ( "CompanyID" CHAR(20) NOT NULL ,"DeliveryMethod" CHAR(1) NOT NULL ,"Address" CHAR(250) NULL ,PRIMARY KEY ("CompanyID" ASC) ) GO COMMENT ON TABLE "pears"."CascadeDeliveryAddress" IS 'Seconday Agency delivery addresses and methods' GO ALTER TABLE "pears"."CascadeDeliveryAddress" ADD NOT NULL FOREIGN KEY "Company" ("CompanyID" ASC) REFERENCES "pears"."Company" ("companyid") ON DELETE CASCADE GO