Production.ProductDocument Table

Information

NameProductDocument
SchemaProduction
Row Count0
Data Size 
Index Size 
Reserved Size 
Unused Size 
Created29.3.2010. 21:58:18
Modified29.3.2010. 21:58:54

Extended Properties

NameTypeProperty NameValue
ProductDocumentTABLEMS_DescriptionCross-reference table mapping products to related product documents.

Columns

PKKeyIdentityNameData TypeAllow NullsCollationReferencesDefaultComputedCompute Expression
   ProductIDint  Production.Product.ProductID
 
 
 
   DocumentIDint  Production.Document.DocumentID
 
 
 
   ModifiedDatedatetime   
(getdate())
 
 

Indexes

NameTypePrimaryUniqueColumns
PK_ProductDocument_ProductID_DocumentIDClustered  ProductID, DocumentID

Foreign Key Constraints

NameTypeReferenced Table
FK_ProductDocument_Document_DocumentIDForeign keyProduction.Document
FK_ProductDocument_Product_ProductIDForeign keyProduction.Product

SQL Script

CREATE TABLE [Production].[ProductDocument] (
    [ProductID] int NOT NULL,
    [DocumentID] int NOT NULL,
    [ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);