====== 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 =====
* PersonID, TempDeskID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
* No incoming foreign keys found.
===== Indexes =====
^ Name ^ Type ^ Columns ^ Detail ^
| CompliancePSDesk | Index | TempDeskID | |
===== Triggers =====
* No triggers found.
===== 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