Difference between revisions of "Production.ProductDocument (table)"
| Line 12: | Line 12: | ||
| + | === Columns === | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 18: | Line 19: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description |
|- valign="top" | |- valign="top" | ||
| Line 25: | Line 26: | ||
| not null | | not null | ||
| | | | ||
| − | | Product identification number. Foreign key to Product.ProductID. | + | | Product identification number. Foreign key to Product.ProductID. |
|- valign="top" | |- valign="top" | ||
| DocumentID | | DocumentID | ||
| Line 31: | Line 32: | ||
| not null | | not null | ||
| | | | ||
| − | | Document identification number. Foreign key to Document.DocumentID. | + | | Document identification number. Foreign key to Document.DocumentID. |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
| Line 37: | Line 38: | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
| − | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||
| + | === Primary Key === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Primary Key | ||
| + | | '''Columns | ||
| + | |- | ||
| + | | PK_ProductDocument_ProductID_DocumentID | ||
| + | | ProductID, DocumentID | ||
| + | |} | ||
| − | + | === Foreign Keys === | |
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
| Line 58: | Line 68: | ||
|} | |} | ||
| + | === References === | ||
| + | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
| + | |- style="background:silver" | ||
| + | | '''Dependency Type | ||
| + | | '''Object Type | ||
| + | | '''Referenced Object | ||
| + | |||
| + | |- | ||
| + | | Schema | ||
| + | | Schema | ||
| + | | [[Production_(schema)|Production]] | ||
| + | |||
| + | |} | ||
Revision as of 23:06, 2 February 2010
Contents
wikibot
| Table | Production.ProductDocument |
| Description | Cross-reference table mapping products to related product documents. |
Columns
| 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
| Primary Key | Columns |
| PK_ProductDocument_ProductID_DocumentID | ProductID, DocumentID |
Foreign Keys
| Relation | Column | Referenced Column |
| Production.Document | DocumentID | DocumentID |
| Production.Product | ProductID | ProductID |
References
| Dependency Type | Object Type | Referenced Object |
| Schema | Schema | Production |
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 |
| Dependency Type | Object Type | Referenced Object |
| Schema | Schema | Production |