pears.DeletedTagChoice

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

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
  • DeletedID, tagid
  • No outgoing foreign keys found.
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- 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
  • database/tables/pears_deletedtagchoice.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1