ScrewTurn Wiki

Edit

wikibot

TableHumanResources.Shift
DescriptionWork shift lookup table.

Edit

Columns

ColumnData TypeNullableDefaultDescription
ShiftIDtinyintnot null Primary key for Shift records.
Namedbo.Namenot null Shift description.
StartTimedatetimenot null Shift start time.
EndTimedatetimenot null Shift end time.
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.

Edit

Primary Key

Primary KeyColumns
PK_Shift_ShiftIDShiftID

Edit

Indexes

IndexTypeColumns
AK_Shift_NameUniqueName
AK_Shift_StartTime_EndTimeUniqueStartTime, EndTime

Edit

Detail Tables

Detail TableColumnReferencing Column
HumanResources.EmployeeDepartmentHistoryShiftIDShiftID

Edit

References

Dependency TypeObject TypeReferenced Object
Data TypeTypedbo.Name
SchemaSchemaHumanResources

Edit

Dependencies

Reference TypeObject TypeReferencing Object
SelectViewHumanResources.vEmployeeDepartmentHistory

Edit

wikivalues

Table ValuesHumanResources.Shift

ShiftIDNameStartTimeEndTime
1Day1900-01-01 07:00:00.0001900-01-01 15:00:00.000
2Evening1900-01-01 15:00:00.0001900-01-01 23:00:00.000
3Night1900-01-01 23:00:00.0001900-01-01 07:00:00.000

Edit

automatically generated

TableHumanResources.Shift
DescriptionWork shift lookup table.

ColumnData TypeNullableDefaultDescription / PK / Index
ShiftIDtinyintnot null Primary key for Shift records.
PK_Shift_ShiftID
NameNamenot null Shift description.
AK_Shift_Name
StartTimedatetimenot null Shift start time.
AK_Shift_StartTime_EndTime
EndTimedatetimenot null Shift end time.
AK_Shift_StartTime_EndTime
ModifiedDatedatetimenot null(GETDATE())Date and time the record was last updated.



Detail TableColumnReferencing Column
HumanResources.EmployeeDepartmentHistoryShiftIDShiftID

Dependency TypeObject TypeReferenced Object
Data TypeTypedbo.Name
SchemaSchemaHumanResources

Reference TypeObject TypeReferencing Object
SelectViewHumanResources.vEmployeeDepartmentHistory

ScrewTurn Wiki version 2.0.36. Some of the icons created by FamFamFam.