From dbscript Online Help
wikibot
Table
|
Production.ProductCostHistory
|
Column
|
Data Type
|
Nullable
|
Default
|
PK
|
Index
|
ProductID
|
int
|
not null
|
|
PK_ProductCostHistory_ProductID_StartDate
|
|
StartDate
|
datetime
|
not null
|
|
PK_ProductCostHistory_ProductID_StartDate
|
|
EndDate
|
datetime
|
null
|
|
|
|
StandardCost
|
money
|
not null
|
|
|
|
ModifiedDate
|
datetime
|
not null
|
(getdate())
|
|
|
automatically generated
Table
|
Production.ProductCostHistory
|
Description
|
Changes in the cost of a product over time.
|
Column
|
Data Type
|
Nullable
|
Default
|
Description
|
PK / Index
|
ProductID
|
int
|
not null
|
|
Product identification number. Foreign key to Product.ProductID
|
PK_ProductCostHistory_ProductID_StartDate
|
StartDate
|
datetime
|
not null
|
|
Product cost start date.
|
PK_ProductCostHistory_ProductID_StartDate
|
EndDate
|
datetime
|
null
|
|
Product cost end date.
|
|
StandardCost
|
money
|
not null
|
|
Standard cost of the product.
|
|
ModifiedDate
|
datetime
|
not null
|
(GETDATE())
|
Date and time the record was last updated.
|
|