Sales.SpecialOfferProduct Table
Information
| Name | SpecialOfferProduct |
| Schema | Sales |
| Row Count | 0 |
| Data Size | |
| Index Size | |
| Reserved Size | |
| Unused Size | |
| Created | 29.3.2010. 21:58:18 |
| Modified | 29.3.2010. 21:58:55 |
Extended Properties
| Name | Type | Property Name | Value |
| SpecialOfferProduct | TABLE | MS_Description | Cross-reference table mapping products to special offer discounts. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | SpecialOfferID | int |   | | Sales.SpecialOffer.SpecialOfferID | |   | |
|   |   |   | ProductID | int |   | | Production.Product.ProductID | |   | |
| |   |   | rowguid | uniqueidentifier |   | | | (newid()) |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
Foreign Key Constraints
SQL Script
CREATE TABLE [Sales].[SpecialOfferProduct] (
[SpecialOfferID] int NOT NULL,
[ProductID] int NOT NULL,
[rowguid] uniqueidentifier NOT NULL DEFAULT (newid()),
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE UNIQUE INDEX [AK_SpecialOfferProduct_rowguid] on [Sales].[SpecialOfferProduct]([rowguid]);
CREATE INDEX [IX_SpecialOfferProduct_ProductID] on [Sales].[SpecialOfferProduct]([ProductID]);