Purchasing.VendorContact Table
Information
| Name | VendorContact |
| Schema | Purchasing |
| Row Count | 0 |
| Data Size | |
| Index Size | |
| Reserved Size | |
| Unused Size | |
| Created | 29.3.2010. 21:58:18 |
| Modified | 29.3.2010. 21:58:56 |
Extended Properties
| Name | Type | Property Name | Value |
| VendorContact | TABLE | MS_Description | Cross-reference table mapping vendors and their employees. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | VendorID | int |   | | Purchasing.Vendor.VendorID | |   | |
|   |   |   | ContactID | int |   | | Person.Contact.ContactID | |   | |
| |   |   | ContactTypeID | int |   | | Person.ContactType.ContactTypeID | |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
Foreign Key Constraints
SQL Script
CREATE TABLE [Purchasing].[VendorContact] (
[VendorID] int NOT NULL,
[ContactID] int NOT NULL,
[ContactTypeID] int NOT NULL,
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE INDEX [IX_VendorContact_ContactID] on [Purchasing].[VendorContact]([ContactID]);
CREATE INDEX [IX_VendorContact_ContactTypeID] on [Purchasing].[VendorContact]([ContactTypeID]);