====== pears.ComplianceViewData ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Description ===== Temp Table - Used to construct the Person compliance view. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **ComplianceViewDataID** | char(20) | NOT NULL | | | | InstanceID | char(20) | NULL | | | | StateChangeText | long varchar | NULL | | | | PlacementAllowedText | long varchar | NULL | | | | TempshiftAllowedText | long varchar | NULL | | | | ComplianceText1 | long varchar | NULL | | | | ComplianceText2 | long varchar | NULL | | | | PassOrFailOrWarn | char(1) | NULL | | | | ComplianceColour1 | char(20) | NULL | | | | ComplianceColour2 | char(20) | NULL | | | | ComplianceGroup | smallint | NULL | | | | SortOrder | smallint | NULL | | | | TagId | char(3) | NULL | | | | TagLocation | char(3) | NULL | | | ===== Primary Key ===== * ComplianceViewDataID ===== 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"."ComplianceViewData" -- Table comment: Temp Table - Used to construct the Person compliance view. -- Statement count: 2 CREATE GLOBAL TEMPORARY TABLE "pears"."ComplianceViewData" ( "ComplianceViewDataID" char(20) NOT NULL ,"InstanceID" char(20) NULL ,"StateChangeText" long varchar NULL ,"PlacementAllowedText" long varchar NULL ,"TempshiftAllowedText" long varchar NULL ,"ComplianceText1" long varchar NULL ,"ComplianceText2" long varchar NULL ,"PassOrFailOrWarn" char(1) NULL ,"ComplianceColour1" char(20) NULL ,"ComplianceColour2" char(20) NULL ,"ComplianceGroup" smallint NULL ,"SortOrder" smallint NULL ,"TagId" char(3) NULL ,"TagLocation" char(3) NULL ,PRIMARY KEY ("ComplianceViewDataID" ASC) ) ON COMMIT PRESERVE ROWS go COMMENT ON TABLE "pears"."ComplianceViewData" IS 'Temp Table - Used to construct the Person compliance view.' go