From dbscript Online Help
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]
References[edit]
Dependencies[edit]
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.
|