Sales.SpecialOfferProduct

Table: 'Sales.SpecialOfferProduct'

4 fields. 40 bytes.

Cross-reference table mapping products to special offer discounts.

Field NameData TypeSizeOriginal TypeDefaultNullableDescriptionCheck
SpecialOfferIDint   Not nullPrimary key for SpecialOfferProduct records. 
ProductIDint   Not nullProduct identification number. Foreign key to Product.ProductID. 
rowguiduniqueidentifier  newid()Not nullROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. 
ModifiedDatedatetime  getdate()Not nullDate and time the record was last updated. 

Extended Properties

The object has no extended properties.

Primary key for table 'Sales.SpecialOfferProduct'

Primary Key NameField Names
PK_SpecialOfferProduct_SpecialOfferID_ProductIDSpecialOfferID, ProductID

Foreign keys for table 'Sales.SpecialOfferProduct', 2 items

ForeignPrimaryKey Name
SpecialOfferProduct.ProductIDProduct.ProductIDFK_SpecialOfferProduct_Product_ProductID
SpecialOfferProduct.SpecialOfferIDSpecialOffer.SpecialOfferIDFK_SpecialOfferProduct_SpecialOffer_SpecialOfferID

Indexes for table 'Sales.SpecialOfferProduct', 3 items

Index NameDescriptionClusteredUniqueFields
PK_SpecialOfferProduct_SpecialOfferID_ProductIDClustered index created by a primary key constraint.YesYesSpecialOfferID, ProductID
AK_SpecialOfferProduct_rowguidUnique nonclustered index. Used to support replication samples.NoYesrowguid
IX_SpecialOfferProduct_ProductIDNonclustered index.NoNoProductID

Triggers for table 'Sales.SpecialOfferProduct', 1 item

NameDescriptionTypeEnabled
uSpecialOfferProductAFTER UPDATE trigger setting the ModifiedDate column in the SpecialOfferProduct table to the current date.after Update Yes

Dependencies for table 'Sales.SpecialOfferProduct', 1 item

Object NameTypeField Name
Sales.uSpecialOfferProducttriggerN/A