pears.County

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

Column Type Null Default Comment
CountyID char(20) NOT NULL
Name char(30) NOT NULL
AgencyID char(20) NULL
SortOrder smallint NULL
  • CountyID
Constraint Columns References Delete/update action
AgencyDetails AgencyID pears.agencydetails (agencyid) ON DELETE CASCADE
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."County"
-- Table comment: 
-- Statement count: 2
 
CREATE TABLE "pears"."County" (
    "CountyID"                       CHAR(20) NOT NULL
   ,"Name"                           CHAR(30) NOT NULL
   ,"AgencyID"                       CHAR(20) NULL
   ,"SortOrder"                      SMALLINT NULL
   ,PRIMARY KEY ("CountyID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."County"
    ADD FOREIGN KEY "AgencyDetails" ("AgencyID" ASC)
    REFERENCES "pears"."agencydetails" ("agencyid")
    ON DELETE CASCADE
GO
  • database/tables/pears_county.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1