Difference between revisions of "HumanResources.Department (table)"
| Line 91: | Line 91: | ||
| Data Type | | Data Type | ||
| Type | | Type | ||
| − | | [[dbo.Name_ | + | | [[dbo.Name_(type)|dbo.Name]] |
|- valign="top" | |- valign="top" | ||
| Schema | | Schema | ||
| Schema | | Schema | ||
| − | | [[HumanResources_ | + | | [[HumanResources_(schema)|HumanResources]] |
|} | |} | ||
| Line 110: | Line 110: | ||
| Select | | Select | ||
| View | | View | ||
| − | | [[HumanResources.vEmployeeDepartment_ | + | | [[HumanResources.vEmployeeDepartment_(view)|HumanResources.vEmployeeDepartment]] |
|- valign="top" | |- valign="top" | ||
| Select | | Select | ||
| View | | View | ||
| − | | [[HumanResources.vEmployeeDepartmentHistory_ | + | | [[HumanResources.vEmployeeDepartmentHistory_(view)|HumanResources.vEmployeeDepartmentHistory]] |
|} | |} | ||
Latest revision as of 23:15, 23 June 2010
Contents
wikibot[edit]
| Table | HumanResources.Department |
| Description | Lookup table containing the departments within the Adventure Works Cycles company. |
Columns[edit]
| Column | Data Type | Nullable | Default | Description |
| DepartmentID | smallint | not null | Primary key for Department records. | |
| Name | dbo.Name | not null | Name of the department. | |
| GroupName | dbo.Name | not null | Name of the group to which the department belongs. | |
| ModifiedDate | datetime | not null | (getdate()) | Date and time the record was last updated. |
Primary Key[edit]
| Primary Key | Columns |
| PK_Department_DepartmentID | DepartmentID |
Indexes[edit]
| Index | Type | Columns |
| AK_Department_Name | Unique | Name |
Detail Tables[edit]
| Detail Table | Column | Referencing Column |
| HumanResources.EmployeeDepartmentHistory | DepartmentID | DepartmentID |
References[edit]
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | HumanResources |
Dependencies[edit]
| Reference Type | Object Type | Referencing Object |
| Select | View | HumanResources.vEmployeeDepartment |
| Select | View | HumanResources.vEmployeeDepartmentHistory |
automatically generated[edit]
| Table | HumanResources.Department |
| Description | Lookup table containing the departments within the Adventure Works Cycles company. |
| Column | Data Type | Nullable | Default | Description / PK / Index |
| DepartmentID | smallint | not null | Primary key for Department records. PK_Department_DepartmentID | |
| Name | Name | not null | Name of the department. AK_Department_Name | |
| GroupName | Name | not null | Name of the group to which the department belongs. | |
| ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
| Detail Table | Column | Referencing Column |
| HumanResources.EmployeeDepartmentHistory | DepartmentID | DepartmentID |
| Dependency Type | Object Type | Referenced Object |
| Data Type | Type | dbo.Name |
| Schema | Schema | HumanResources |
| Reference Type | Object Type | Referencing Object |
| Select | View | HumanResources.vEmployeeDepartment |
| Select | View | HumanResources.vEmployeeDepartmentHistory |