Table of Contents



pears.CompliancePersonStatus

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
PersonID char(20) NOT NULL
TempDeskID char(20) NOT NULL Used for removing previous fetch and might contain % so no referential integrity
Description long varchar NULL
Status tinyint NULL 1=fail 2=warning 0=ok
Percentage double NULL
WarningDescription long varchar NULL
ErrorDescription long varchar NULL

Primary Key

Foreign Keys

Referenced By

Indexes

Name Type Columns Detail
CompliancePSDesk Index TempDeskID

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."CompliancePersonStatus"
-- Table comment: 
-- Statement count: 4
 
CREATE GLOBAL TEMPORARY TABLE "pears"."CompliancePersonStatus" (
    "PersonID"                       CHAR(20) NOT NULL
   ,"TempDeskID"                     CHAR(20) NOT NULL
   ,"Description"                    long VARCHAR NULL
   ,"Status"                         tinyint NULL
   ,"Percentage"                     DOUBLE NULL
   ,"WarningDescription"             long VARCHAR NULL
   ,"ErrorDescription"               long VARCHAR NULL
   ,PRIMARY KEY ("PersonID" ASC,"TempDeskID" ASC) 
) ON COMMIT PRESERVE ROWS
GO
 
 
COMMENT ON COLUMN "pears"."CompliancePersonStatus"."TempDeskID" IS 
	'Used for removing previous fetch and might contain % so no referential integrity'
GO
 
 
COMMENT ON COLUMN "pears"."CompliancePersonStatus"."Status" IS 
	'1=fail 2=warning 0=ok'
GO
 
 
CREATE INDEX "CompliancePSDesk" ON "pears"."CompliancePersonStatus"
    ( "TempDeskID" )
GO