Production.ProductDocument

Table: 'Production.ProductDocument'

3 fields. 24 bytes.

Cross-reference table mapping products to related product documents.

Field NameData TypeSizeOriginal TypeDefaultNullableDescriptionCheck
ProductIDint   Not nullProduct identification number. Foreign key to Product.ProductID. 
DocumentIDint   Not nullDocument identification number. Foreign key to Document.DocumentID. 
ModifiedDatedatetime  getdate()Not nullDate and time the record was last updated. 

Extended Properties

The object has no extended properties.

Primary key for table 'Production.ProductDocument'

Primary Key NameField Names
PK_ProductDocument_ProductID_DocumentIDProductID, DocumentID

Foreign keys for table 'Production.ProductDocument', 2 items

ForeignPrimaryKey Name
ProductDocument.DocumentIDDocument.DocumentIDFK_ProductDocument_Document_DocumentID
ProductDocument.ProductIDProduct.ProductIDFK_ProductDocument_Product_ProductID

Indexes for table 'Production.ProductDocument', 1 item

Index NameDescriptionClusteredUniqueFields
PK_ProductDocument_ProductID_DocumentIDClustered index created by a primary key constraint.YesYesProductID, DocumentID

Triggers for table 'Production.ProductDocument', 1 item

NameDescriptionTypeEnabled
uProductDocumentAFTER UPDATE trigger setting the ModifiedDate column in the ProductDocument table to the current date.after Update Yes

Dependencies for table 'Production.ProductDocument', 1 item

Object NameTypeField Name
Production.uProductDocumenttriggerN/A