====== pears.DeletedTagChoice ====== 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 ^ | **DeletedID** | integer | NOT NULL | autoincrement | | | InstanceID | char(20) | NULL | | Group all deletes together | | WhenDeleted | date | NULL | | Used by cleanup and if multiple deletes | | taglocation | char(3) | NULL | | | | **tagid** | char(3) | NOT NULL | | | | tagchoiceid | char(4) | NULL | | | | description | char(60) | NOT NULL | | | | sortorder | smallint | NULL | | | | subchoice | smallint | NULL | 0 | | | value | double | NULL | | | | aliases | char(250) | NULL | | | | fixed | smallint | NULL | 0 | | | DoNotPublishToWeb | smallint | NULL | 0 | | | analysis | char(20) | NULL | | | | tagchoiceparentid | char(4) | NULL | | | | LongDescription | long varchar | NULL | | | | readonly | smallint | NULL | | | ===== Primary Key ===== * DeletedID, tagid ===== Foreign Keys ===== * No outgoing foreign keys found. ===== 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"."DeletedTagChoice" -- Table comment: -- Statement count: 3 CREATE TABLE "pears"."DeletedTagChoice" ( "DeletedID" integer NOT NULL DEFAULT autoincrement ,"InstanceID" char(20) NULL ,"WhenDeleted" date NULL ,"taglocation" char(3) NULL ,"tagid" char(3) NOT NULL ,"tagchoiceid" char(4) NULL ,"description" char(60) NOT NULL ,"sortorder" smallint NULL ,"subchoice" smallint NULL DEFAULT 0 ,"value" double NULL ,"aliases" char(250) NULL ,"fixed" smallint NULL DEFAULT 0 ,"DoNotPublishToWeb" smallint NULL DEFAULT 0 ,"analysis" char(20) NULL ,"tagchoiceparentid" char(4) NULL ,"LongDescription" long varchar NULL ,"readonly" smallint NULL ,PRIMARY KEY ("DeletedID" ASC,"tagid" ASC) ) go COMMENT ON COLUMN "pears"."DeletedTagChoice"."InstanceID" IS 'Group all deletes together' go COMMENT ON COLUMN "pears"."DeletedTagChoice"."WhenDeleted" IS 'Used by cleanup and if multiple deletes' go