Lookup table containing the departments within the Adventure Works Cycles company.
Creation Date | 27/10/2017 14:33 |
File Group | PRIMARY |
Text File Group | |
System Object | |
Published for Replication | |
Rows | 16 |
Data Space Used | 8.00 KB |
Index Space Used | 24.00 KB |
Column Name | Description | Datatype | Length | Allow Nulls | Default | Formula | |
---|---|---|---|---|---|---|---|
DepartmentID | Primary key for Department records. | SmallInt | 2 | ||||
Name | Name of the department. | dbo.Name | 50 | ||||
GroupName | Name of the group to which the department belongs. | dbo.Name | 50 | ||||
ModifiedDate | Date and time the record was last updated. | DBTimeStamp | 4 | (getdate()) |
Index | Description | Primary | Unique |
---|---|---|---|
AK_Department_Name | Unique nonclustered index. | ||
PK_Department_DepartmentID | Primary key (clustered) constraint |
Relationship | Description |
---|---|
FK_EmployeeDepartmentHistory_Department_DepartmentID | Foreign key constraint referencing Department.DepartmentID. |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
HumanResources.EmployeeDepartmentHistory | Table | Employee department transfers. | 1 | |
HumanResources.vEmployeeDepartment | View | Returns employee name, title, and current department. | 1 | |
HumanResources.vEmployeeDepartmentHistory | View | Returns employee name and current and previous departments. | 1 |
Database Object | Object Type | Description | Dep Level | |
---|---|---|---|---|
dbo.Name | User Defined Data Type | 1 |
|