HumanResources.EmployeeAddress Table
Information
| Name | EmployeeAddress |
| 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 |
| EmployeeAddress | TABLE | MS_Description | Cross-reference table mapping employees to their address(es). |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | EmployeeID | int |   | | HumanResources.Employee.EmployeeID | |   | |
|   |   |   | AddressID | int |   | | Person.Address.AddressID | |   | |
| |   |   | rowguid | uniqueidentifier |   | | | (newid()) |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
Foreign Key Constraints
SQL Script
CREATE TABLE [HumanResources].[EmployeeAddress] (
[EmployeeID] int NOT NULL,
[AddressID] int NOT NULL,
[rowguid] uniqueidentifier NOT NULL DEFAULT (newid()),
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE UNIQUE INDEX [AK_EmployeeAddress_rowguid] on [HumanResources].[EmployeeAddress]([rowguid]);