pears.AlternativeInvoiceAddressEmail

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Column Type Null Default Comment
AlternativeInvoiceAddressEmailID char(20) NOT NULL
divisionid char(20) NULL
Description char(100) NOT NULL
InvoiceAddress long varchar NULL
Defunct tinyint NOT NULL 0
InvoiceEmail char(250) NULL
  • AlternativeInvoiceAddressEmailID
Constraint Columns References Delete/update action
division divisionid pears.Division (divisionid) ON DELETE SET NULL
Table Constraint Columns Referenced columns
pears.AccountOverrideInvoiceAddress AlternativeInvoiceAddressEmail AlternativeInvoiceAddressEmailID AlternativeInvoiceAddressEmailID
pears.Placement AlternativeInvoiceAddressEmail AlternativeInvoiceAddressEmailID AlternativeInvoiceAddressEmailID
pears.SalesBrand AlternativeInvoiceAddressEmail AlternativeInvoiceAddressEmailID AlternativeInvoiceAddressEmailID
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."AlternativeInvoiceAddressEmail"
-- Table comment: 
-- Statement count: 2
 
CREATE TABLE "pears"."AlternativeInvoiceAddressEmail" (
    "AlternativeInvoiceAddressEmailID" CHAR(20) NOT NULL
   ,"divisionid"                     CHAR(20) NULL
   ,"Description"                    CHAR(100) NOT NULL
   ,"InvoiceAddress"                 long VARCHAR NULL
   ,"Defunct"                        tinyint NOT NULL DEFAULT 0
   ,"InvoiceEmail"                   CHAR(250) NULL
   ,PRIMARY KEY ("AlternativeInvoiceAddressEmailID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."AlternativeInvoiceAddressEmail"
    ADD FOREIGN KEY "division" ("divisionid" ASC)
    REFERENCES "pears"."Division" ("divisionid")
    ON DELETE SET NULL
GO
  • database/tables/pears_alternativeinvoiceaddressemail.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1