Difference between revisions of "Sales.SpecialOfferProduct (table)"
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | Sales.SpecialOfferProduct |- |} {| border="1" cellpadding="5" cellspacing="0...) |
|||
Line 45: | Line 45: | ||
| (getdate()) | | (getdate()) | ||
| | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Relation | ||
+ | | '''Column | ||
+ | | '''Referenced Column | ||
+ | |||
+ | |- | ||
+ | | [[Production.Product_(table)|Production.Product]] | ||
+ | | ProductID | ||
+ | | ProductID | ||
+ | |- | ||
+ | | [[Sales.SpecialOffer_(table)|Sales.SpecialOffer]] | ||
+ | | SpecialOfferID | ||
+ | | SpecialOfferID | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Detail Table | ||
+ | | '''Column | ||
+ | | '''Referencing Column | ||
+ | |||
+ | |- | ||
+ | | [[Sales.SalesOrderDetail_(table)|Sales.SalesOrderDetail]] | ||
+ | | SpecialOfferID | ||
+ | | SpecialOfferID | ||
+ | |- | ||
+ | | [[Sales.SalesOrderDetail_(table)|Sales.SalesOrderDetail]] | ||
+ | | SpecialOfferID | ||
+ | | SpecialOfferID | ||
+ | |} | ||
+ | |||
+ | == automatically generated == | ||
+ | |||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- | ||
+ | | '''Table | ||
+ | | Sales.SpecialOfferProduct | ||
+ | |- | ||
+ | |||
+ | | '''Description | ||
+ | | Cross-reference table mapping products to special offer discounts. | ||
+ | |- | ||
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Column | ||
+ | | '''Data Type | ||
+ | | '''Nullable | ||
+ | | '''Default | ||
+ | | '''Description | ||
+ | | '''PK / Index | ||
+ | |||
+ | |- | ||
+ | | SpecialOfferID | ||
+ | | int | ||
+ | | not null | ||
+ | | | ||
+ | | Primary key for SpecialOfferProduct records. | ||
+ | | PK_SpecialOfferProduct_SpecialOfferID_ProductID | ||
+ | |- | ||
+ | | ProductID | ||
+ | | int | ||
+ | | not null | ||
+ | | | ||
+ | | Product identification number. Foreign key to Product.ProductID. | ||
+ | | PK_SpecialOfferProduct_SpecialOfferID_ProductIDIX_SpecialOfferProduct_ProductID | ||
+ | |- | ||
+ | | rowguid | ||
+ | | uniqueidentifier | ||
+ | | not null | ||
+ | | (NEWID()) | ||
+ | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | ||
+ | | AK_SpecialOfferProduct_rowguid | ||
+ | |- | ||
+ | | ModifiedDate | ||
+ | | datetime | ||
+ | | not null | ||
+ | | (GETDATE()) | ||
+ | | Date and time the record was last updated. | ||
| | | | ||
|} | |} |
Revision as of 23:27, 26 November 2009
wikibot
Table | Sales.SpecialOfferProduct |
Column | Data Type | Nullable | Default | PK | Index |
SpecialOfferID | int | not null | PK_SpecialOfferProduct_SpecialOfferID_ProductID | ||
ProductID | int | not null | PK_SpecialOfferProduct_SpecialOfferID_ProductID | IX_SpecialOfferProduct_ProductID | |
rowguid | uniqueidentifier | not null | (newid()) | AK_SpecialOfferProduct_rowguid | |
ModifiedDate | datetime | not null | (getdate()) |
Relation | Column | Referenced Column |
Production.Product | ProductID | ProductID |
Sales.SpecialOffer | SpecialOfferID | SpecialOfferID |
Detail Table | Column | Referencing Column |
Sales.SalesOrderDetail | SpecialOfferID | SpecialOfferID |
Sales.SalesOrderDetail | SpecialOfferID | SpecialOfferID |
automatically generated
Table | Sales.SpecialOfferProduct |
Description | Cross-reference table mapping products to special offer discounts. |
Column | Data Type | Nullable | Default | Description | PK / Index |
SpecialOfferID | int | not null | Primary key for SpecialOfferProduct records. | PK_SpecialOfferProduct_SpecialOfferID_ProductID | |
ProductID | int | not null | Product identification number. Foreign key to Product.ProductID. | PK_SpecialOfferProduct_SpecialOfferID_ProductIDIX_SpecialOfferProduct_ProductID | |
rowguid | uniqueidentifier | not null | (NEWID()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | AK_SpecialOfferProduct_rowguid |
ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
Relation | Column | Referenced Column |
Production.Product | ProductID | ProductID |
Sales.SpecialOffer | SpecialOfferID | SpecialOfferID |
Detail Table | Column | Referencing Column |
Sales.SalesOrderDetail | SpecialOfferID | SpecialOfferID |
Sales.SalesOrderDetail | SpecialOfferID | SpecialOfferID |