Table of Contents



pears.WPKLookupType

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

Description

Lookups for WPK types eg ViewItemType etc

Columns

Column Type Null Default Comment
WPKLookupTypeID char(20) NOT NULL
WPKArea char(50) NOT NULL ViewType, ViewItemType, ViewItemDataType
VisibleValue char(200) NOT NULL
StoredValue char(100) NOT NULL
SortOrder smallint NULL Orders the items in the lookup

Primary Key

Foreign Keys

Referenced By

Indexes

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."WPKLookupType"
-- Table comment: Lookups for WPK types eg ViewItemType etc
-- Statement count: 4
 
CREATE TABLE "pears"."WPKLookupType" (
    "WPKLookupTypeID"                CHAR(20) NOT NULL
   ,"WPKArea"                        CHAR(50) NOT NULL
   ,"VisibleValue"                   CHAR(200) NOT NULL
   ,"StoredValue"                    CHAR(100) NOT NULL
   ,"SortOrder"                      SMALLINT NULL
   ,PRIMARY KEY ("WPKLookupTypeID" ASC) 
)
GO
 
 
COMMENT ON COLUMN "pears"."WPKLookupType"."WPKArea" IS 
	'ViewType, ViewItemType, ViewItemDataType'
GO
 
 
COMMENT ON COLUMN "pears"."WPKLookupType"."SortOrder" IS 
	'Orders the items in the lookup'
GO
 
 
COMMENT ON TABLE "pears"."WPKLookupType" IS 
	'Lookups for WPK types eg ViewItemType etc'
GO