Field Name | Data Type | Size | Original Type | Default | Nullable | Description | Check |
---|---|---|---|---|---|---|---|
ShiftID | tinyint identity | tinyint | Not null | Primary key for Shift records. | |||
Name | Name | nvarchar(50) | Not null | Shift description. | |||
StartTime | datetime | Not null | Shift start time. | ||||
EndTime | datetime | Not null | Shift end time. | ||||
ModifiedDate | datetime | getdate() | Not null | Date and time the record was last updated. |
The object has no extended properties.
Primary Key Name | Field Name |
---|---|
PK_Shift_ShiftID | ShiftID |
Index Name | Description | Clustered | Unique | Fields |
---|---|---|---|---|
PK_Shift_ShiftID | Clustered index created by a primary key constraint. | Yes | Yes | ShiftID |
AK_Shift_Name | Unique nonclustered index. | No | Yes | Name |
AK_Shift_StartTime_EndTime | Unique nonclustered index. | No | Yes | StartTime, EndTime |
Name | Description | Type | Enabled |
---|---|---|---|
uShift | AFTER UPDATE trigger setting the ModifiedDate column in the Shift table to the current date. | after Update | Yes |
Object Name | Type | Field Name |
---|---|---|
HumanResources.uShift | trigger | N/A |
HumanResources.vEmployeeDepartmentHistory | view | N/A |