pears.PlacementLink

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

Column Type Null Default Comment
PlacementLinkID char(20) NOT NULL
PlacementID1 char(20) NULL
PlacementID2 char(20) NULL
  • PlacementLinkID
Constraint Columns References Delete/update action
placement PlacementID1 pears.Placement (placementid) ON DELETE CASCADE
PlacementID2 PlacementID2 pears.Placement (placementid)
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."PlacementLink"
-- Table comment: 
-- Statement count: 3
 
CREATE TABLE "pears"."PlacementLink" (
    "PlacementLinkID"                CHAR(20) NOT NULL
   ,"PlacementID1"                   CHAR(20) NULL
   ,"PlacementID2"                   CHAR(20) NULL
   ,PRIMARY KEY ("PlacementLinkID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."PlacementLink"
    ADD FOREIGN KEY "placement" ("PlacementID1" ASC)
    REFERENCES "pears"."Placement" ("placementid")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."PlacementLink"
    ADD FOREIGN KEY "PlacementID2" ("PlacementID2" ASC)
    REFERENCES "pears"."Placement" ("placementid")
GO
  • database/tables/pears_placementlink.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1