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

From dbscript Online Help
Jump to: navigation, search
Line 58: Line 58:
 
| ProductID
 
| ProductID
 
|}
 
|}
 
 
== automatically generated ==
 
== automatically generated ==
  
Line 80: Line 79:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''Description
+
| '''Description / PK / Index
| '''PK / Index
 
 
 
|-
+
|- valign="top"
 
| ProductID
 
| ProductID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| Product identification number. Foreign key to Product.ProductID.
+
| Product identification number. Foreign key to Product.ProductID.PK_ProductDocument_ProductID_DocumentID
| PK_ProductDocument_ProductID_DocumentID
+
|- valign="top"
|-
 
 
| DocumentID
 
| DocumentID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| Document identification number. Foreign key to Document.DocumentID.
+
| Document identification number. Foreign key to Document.DocumentID.PK_ProductDocument_ProductID_DocumentID
| PK_ProductDocument_ProductID_DocumentID
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
Line 103: Line 99:
 
| (GETDATE())
 
| (GETDATE())
 
| Date and time the record was last updated.
 
| Date and time the record was last updated.
|
 
 
|}
 
|}
  

Revision as of 23:57, 26 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