Table of Contents



pears.TempShiftType

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

Description

List of defined shift types. Used in descriptions and rate processing.

Columns

Column Type Null Default Comment
TempShiftTypeID char(2) NOT NULL
Description char(30) NOT NULL
SortOrder smallint NULL
PublishToWeb smallint NULL 0

Primary Key

Foreign Keys

Referenced By

Table Constraint Columns Referenced columns
pears.MasterRosterShift TempShiftType TempShiftTypeID TempShiftTypeID
pears.TempShift TempShiftType TempShiftTypeID TempShiftTypeID
pears.TempShiftPlan TempShiftType TempShiftTypeID TempShiftTypeID
pears.TempShiftTemplate TempShiftType TempShiftTypeID TempShiftTypeID

Indexes

Name Type Columns Detail
TempShiftTypeSortOrder Index SortOrder

Triggers

Original SQL

-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."TempShiftType"
-- Table comment: List of defined shift types. Used in descriptions and rate processing.
-- Statement count: 3
 
CREATE TABLE "pears"."TempShiftType" (
    "TempShiftTypeID"                CHAR(2) NOT NULL
   ,"Description"                    CHAR(30) NOT NULL
   ,"SortOrder"                      SMALLINT NULL
   ,"PublishToWeb"                   SMALLINT NULL DEFAULT 0
   ,PRIMARY KEY ("TempShiftTypeID" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."TempShiftType" IS 
	'List of defined shift types. Used in descriptions and rate processing.'
GO
 
 
CREATE INDEX "TempShiftTypeSortOrder" ON "pears"."TempShiftType"
    ( "SortOrder" )
GO