Production.ProductListPriceHistory

Table: 'Production.ProductListPriceHistory'

5 fields. 73 bytes.

Changes in the list price of a product over time.

Field NameData TypeSizeOriginal TypeDefaultNullableDescriptionCheck
ProductIDint   Not nullProduct identification number. Foreign key to Product.ProductID 
StartDatedatetime   Not nullList price start date. 
EndDatedatetime   NullList price end date 
ListPricemoney19,4decimal(19,4) Not nullProduct list price.([ListPrice]>(0.00))
ModifiedDatedatetime  getdate()Not nullDate and time the record was last updated. 

Extended Properties

The object has no extended properties.

Primary key for table 'Production.ProductListPriceHistory'

Primary Key NameField Names
PK_ProductListPriceHistory_ProductID_StartDateProductID, StartDate

Foreign keys for table 'Production.ProductListPriceHistory', 1 item

ForeignPrimaryKey Name
ProductListPriceHistory.ProductIDProduct.ProductIDFK_ProductListPriceHistory_Product_ProductID

Indexes for table 'Production.ProductListPriceHistory', 1 item

Index NameDescriptionClusteredUniqueFields
PK_ProductListPriceHistory_ProductID_StartDateClustered index created by a primary key constraint.YesYesProductID, StartDate

Triggers for table 'Production.ProductListPriceHistory', 1 item

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

Dependencies for table 'Production.ProductListPriceHistory', 5 items

Object NameTypeField Name
dbo.ufnGetProductDealerPricescalar functionN/A
dbo.ufnGetProductListPricescalar functionN/A
Production.CK_ProductListPriceHistory_EndDatecheck cnsN/A
Production.CK_ProductListPriceHistory_ListPricecheck cnsN/A
Production.uProductListPriceHistorytriggerN/A