Difference between revisions of "HumanResources.Department (table)"
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | HumanResources.Department |- |} {| border="1" cellpadding="5" cellspacing="0...) |
|||
| Line 45: | Line 45: | ||
| (getdate()) | | (getdate()) | ||
| | | | ||
| + | | | ||
| + | |} | ||
| + | |||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Detail Table | ||
| + | | '''Column | ||
| + | | '''Referencing Column | ||
| + | |||
| + | |- | ||
| + | | [[HumanResources.EmployeeDepartmentHistory_(table)|HumanResources.EmployeeDepartmentHistory]] | ||
| + | | DepartmentID | ||
| + | | DepartmentID | ||
| + | |} | ||
| + | |||
| + | == automatically generated == | ||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- | ||
| + | | '''Table | ||
| + | | HumanResources.Department | ||
| + | |- | ||
| + | |||
| + | | '''Description | ||
| + | | Lookup table containing the departments within the Adventure Works Cycles company. | ||
| + | |- | ||
| + | |||
| + | |} | ||
| + | |||
| + | |||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''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. | ||
| | | | ||
|} | |} | ||
Revision as of 23:26, 26 November 2009
wikibot
| Table | HumanResources.Department |
| Column | Data Type | Nullable | Default | PK | Index |
| DepartmentID | smallint | not null | PK_Department_DepartmentID | ||
| Name | dbo.Name | not null | AK_Department_Name | ||
| GroupName | dbo.Name | not null | |||
| ModifiedDate | datetime | not null | (getdate()) |
| Detail Table | Column | Referencing Column |
| HumanResources.EmployeeDepartmentHistory | DepartmentID | DepartmentID |
automatically generated
| 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 |