Editing HumanResources.Department (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| HumanResources.Department | | HumanResources.Department | ||
− | |- | + | |- |
− | |||
− | |||
|} | |} | ||
− | + | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 17: | Line 15: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''PK |
− | + | | '''Index | |
− | |- | + | |
+ | |- | ||
| DepartmentID | | DepartmentID | ||
| smallint | | smallint | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_Department_DepartmentID |
− | |- | + | | |
+ | |- | ||
| Name | | Name | ||
| dbo.Name | | dbo.Name | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | AK_Department_Name |
+ | |- | ||
| GroupName | | GroupName | ||
| dbo.Name | | dbo.Name | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | | | + | | |
+ | | | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 74: | Line 55: | ||
| '''Column | | '''Column | ||
| '''Referencing Column | | '''Referencing Column | ||
− | + | ||
− | |- | + | |- |
| [[HumanResources.EmployeeDepartmentHistory_(table)|HumanResources.EmployeeDepartmentHistory]] | | [[HumanResources.EmployeeDepartmentHistory_(table)|HumanResources.EmployeeDepartmentHistory]] | ||
| DepartmentID | | DepartmentID | ||
| DepartmentID | | DepartmentID | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== automatically generated == | == automatically generated == | ||
Line 126: | Line 67: | ||
| '''Table | | '''Table | ||
| HumanResources.Department | | HumanResources.Department | ||
− | |- | + | |- |
+ | |||
| '''Description | | '''Description | ||
| Lookup table containing the departments within the Adventure Works Cycles company. | | Lookup table containing the departments within the Adventure Works Cycles company. | ||
|- | |- | ||
+ | |||
|} | |} | ||
Line 146: | Line 89: | ||
| not null | | not null | ||
| | | | ||
− | | Primary key for Department records. | + | | Primary key for Department records.PK_Department_DepartmentID |
|- valign="top" | |- valign="top" | ||
| Name | | Name | ||
Line 152: | Line 95: | ||
| not null | | not null | ||
| | | | ||
− | | Name of the department. | + | | Name of the department.AK_Department_Name |
|- valign="top" | |- valign="top" | ||
| GroupName | | GroupName | ||
Line 158: | Line 101: | ||
| not null | | not null | ||
| | | | ||
− | | Name of the group to which the department belongs. | + | | Name of the group to which the department belongs. |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
Line 164: | Line 107: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||
Line 184: | Line 127: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
+ | | '''Referenced Object | ||
+ | | '''Object Type | ||
| '''Dependency Type | | '''Dependency Type | ||
− | + | ||
− | |||
− | |||
|- | |- | ||
+ | | [[dbo.Name_(type)|dbo.Name]] | ||
+ | | Type | ||
| Data Type | | Data Type | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 203: | Line 140: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
+ | | '''Referencing Object | ||
+ | | '''Object Type | ||
| '''Reference Type | | '''Reference Type | ||
− | + | ||
− | |||
− | |||
|- | |- | ||
+ | | [[HumanResources.vEmployeeDepartment_(view)|HumanResources.vEmployeeDepartment]] | ||
+ | | View | ||
| Select | | Select | ||
+ | |- | ||
+ | | [[HumanResources.vEmployeeDepartmentHistory_(view)|HumanResources.vEmployeeDepartmentHistory]] | ||
| View | | View | ||
− | |||
− | |||
− | |||
| Select | | Select | ||
− | |||
− | |||
− | |||
|} | |} |