Table of Contents



pears.Trengo

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
TrengoID integer NOT NULL
Description char(100) NULL
StaffID char(20) NULL

Primary Key

Foreign Keys

Constraint Columns References Delete/update action
Staff StaffID pears.staff (staffid) ON DELETE SET NULL

Referenced By

Table Constraint Columns Referenced columns
pears.TrengoParameters Trengo TrengoID TrengoID
pears.TrengoSent Trengo TrengoID TrengoID

Indexes

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."Trengo"
-- Table comment: 
-- Statement count: 2
 
CREATE TABLE "pears"."Trengo" (
    "TrengoID"                       INTEGER NOT NULL
   ,"Description"                    CHAR(100) NULL
   ,"StaffID"                        CHAR(20) NULL
   ,PRIMARY KEY ("TrengoID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."Trengo"
    ADD FOREIGN KEY "Staff" ("StaffID" ASC)
    REFERENCES "pears"."staff" ("staffid")
    ON DELETE SET NULL
GO