Difference between revisions of "Production.ProductDocument (table)"

From dbscript Online Help
Jump to: navigation, search
Line 86: Line 86:
 
| not null
 
| not null
 
|  
 
|  
| Product identification number. Foreign key to Product.ProductID.PK_ProductDocument_ProductID_DocumentID
+
| Product identification number. Foreign key to Product.ProductID.<br />PK_ProductDocument_ProductID_DocumentID
 
|- valign="top"
 
|- valign="top"
 
| DocumentID
 
| DocumentID
Line 92: Line 92:
 
| not null
 
| not null
 
|  
 
|  
| Document identification number. Foreign key to Document.DocumentID.PK_ProductDocument_ProductID_DocumentID
+
| Document identification number. Foreign key to Document.DocumentID.<br />PK_ProductDocument_ProductID_DocumentID
 
|- valign="top"
 
|- valign="top"
 
| ModifiedDate
 
| ModifiedDate
Line 98: Line 98:
 
| not null
 
| not null
 
| (GETDATE())
 
| (GETDATE())
| Date and time the record was last updated.
+
| Date and time the record was last updated.<br />
 
|}
 
|}
  

Revision as of 01:10, 27 November 2009

wikibot

Table Production.ProductDocument


Column Data Type Nullable Default PK Index
ProductID int not null PK_ProductDocument_ProductID_DocumentID
DocumentID int not null PK_ProductDocument_ProductID_DocumentID
ModifiedDate datetime not null (getdate())


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

automatically generated

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