HumanResources.Department Table
Information
| Name | Department |
| Schema | HumanResources |
| Row Count | 0 |
| Data Size | |
| Index Size | |
| Reserved Size | |
| Unused Size | |
| Created | 29.3.2010. 21:58:18 |
| Modified | 29.3.2010. 21:58:54 |
Extended Properties
| Name | Type | Property Name | Value |
| Department | TABLE | MS_Description | Lookup table containing the departments within the Adventure Works Cycles company. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | DepartmentID | smallint |   | | | |   | |
| |   |   | Name | nvarchar(50) |   | SQL_Latin1_General_CP1_CI_AS | | |   | |
| |   |   | GroupName | nvarchar(50) |   | SQL_Latin1_General_CP1_CI_AS | | |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
SQL Script
CREATE TABLE [HumanResources].[Department] (
[DepartmentID] smallint NOT NULL IDENTITY,
[Name] nvarchar(50) NOT NULL,
[GroupName] nvarchar(50) NOT NULL,
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE UNIQUE INDEX [AK_Department_Name] on [HumanResources].[Department]([Name]);