Production.ProductDocument (table)

From dbscript Online Help
Jump to: navigation, search

wikibot[edit]

Table Production.ProductDocument
Description Cross-reference table mapping products to related product documents.

Columns[edit]

Column Data Type Nullable Default Description
ProductID int not null Product identification number. Foreign key to Product.ProductID.
DocumentID int not null Document identification number. Foreign key to Document.DocumentID.
ModifiedDate datetime not null (getdate()) Date and time the record was last updated.

Primary Key[edit]

Primary Key Columns
PK_ProductDocument_ProductID_DocumentID ProductID, DocumentID

Foreign Keys[edit]

Relation Column Referenced Column
Production.Document DocumentID DocumentID
Production.Product ProductID ProductID

References[edit]

Dependency Type Object Type Referenced Object
Schema Schema Production


automatically generated[edit]

Table Production.ProductDocument
Description Cross-reference table mapping products to related product documents.


Column Data Type Nullable Default Description / PK / Index
ProductID int not null Product identification number. Foreign key to Product.ProductID.
PK_ProductDocument_ProductID_DocumentID
DocumentID int not null Document identification number. Foreign key to Document.DocumentID.
PK_ProductDocument_ProductID_DocumentID
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Relation Column Referenced Column
Production.Document DocumentID DocumentID
Production.Product ProductID ProductID


Dependency Type Object Type Referenced Object
Schema Schema Production