HumanResources.EmployeeDepartmentHistory Table

Information

NameEmployeeDepartmentHistory
SchemaHumanResources
Row Count296
Data Size16 KB
Index Size48 KB
Reserved Size64 KB
Unused Size0 KB
Created14.10.2005 1:58:32
Modified14.10.2005 1:59:52

Extended Properties

NameTypeProperty NameValue
EmployeeDepartmentHistoryTABLEMS_DescriptionEmployee department transfers.

Columns

PKKeyIdentityNameData TypeAllow NullsCollationReferencesDefaultComputedCompute Expression
   EmployeeIDint  HumanResources.Employee.EmployeeID
 
 
 
   DepartmentIDsmallint  HumanResources.Department.DepartmentID
 
 
 
   ShiftIDtinyint  HumanResources.Shift.ShiftID
 
 
 
   StartDatedatetime   
 
 
 
   EndDatedatetime   
 
 
 
   ModifiedDatedatetime   
(getdate())
 
 

Indexes

NameTypePrimaryUniqueColumns
PK_EmployeeDepartmentHistory_EmployeeID_StartDate_DepartmentIDClustered  EmployeeID, StartDate, DepartmentID, ShiftID
IX_EmployeeDepartmentHistory_DepartmentIDNonClustered  DepartmentID
IX_EmployeeDepartmentHistory_ShiftIDNonClustered  ShiftID

Check Constraints

NameColumnEnabledTrustedExpression
CK_EmployeeDepartmentHistory_EndDate   ([EndDate]>=[StartDate] OR [EndDate] IS NULL)

Foreign Key Constraints

NameTypeReferenced Table
FK_EmployeeDepartmentHistory_Department_DepartmentIDForeign keyHumanResources.Department
FK_EmployeeDepartmentHistory_Employee_EmployeeIDForeign keyHumanResources.Employee
FK_EmployeeDepartmentHistory_Shift_ShiftIDForeign keyHumanResources.Shift

Triggers

NameActivates onInstead OfFor ReplicationEnabledCreatedModified
HumanResources.uEmployeeDepartmentHistoryUPDATE   14.10.2005 1:59:5214.10.2005 1:59:52