Editing Production.ProductCostHistory (table)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- |
| '''Table | | '''Table | ||
| Production.ProductCostHistory | | Production.ProductCostHistory | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Changes in the cost of a product over time. | | Changes in the cost of a product over time. | ||
+ | |- | ||
|} | |} | ||
+ | |||
=== Columns === | === Columns === | ||
Line 18: | Line 20: | ||
| '''Default | | '''Default | ||
| '''Description | | '''Description | ||
− | + | ||
|- valign="top" | |- valign="top" | ||
| ProductID | | ProductID | ||
Line 56: | Line 58: | ||
| '''Primary Key | | '''Primary Key | ||
| '''Columns | | '''Columns | ||
− | |- | + | |- |
| PK_ProductCostHistory_ProductID_StartDate | | PK_ProductCostHistory_ProductID_StartDate | ||
| ProductID, StartDate | | ProductID, StartDate | ||
Line 67: | Line 69: | ||
| '''Expression | | '''Expression | ||
| '''Description | | '''Description | ||
− | + | ||
− | |- | + | |- |
| CK_ProductCostHistory_EndDate | | CK_ProductCostHistory_EndDate | ||
| ([EndDate]>=[StartDate] OR [EndDate] IS NULL) | | ([EndDate]>=[StartDate] OR [EndDate] IS NULL) | ||
| Check constraint [EndDate] >= [StartDate] OR [EndDate] IS NULL | | Check constraint [EndDate] >= [StartDate] OR [EndDate] IS NULL | ||
− | |- | + | |- |
| CK_ProductCostHistory_StandardCost | | CK_ProductCostHistory_StandardCost | ||
| ([StandardCost]>=(0.00)) | | ([StandardCost]>=(0.00)) | ||
Line 84: | Line 86: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- |
| [[Production.Product_(table)|Production.Product]] | | [[Production.Product_(table)|Production.Product]] | ||
| ProductID | | ProductID | ||
Line 98: | Line 100: | ||
| '''Referenced Object | | '''Referenced Object | ||
− | |- | + | |- |
| Schema | | Schema | ||
| Schema | | Schema | ||
Line 112: | Line 114: | ||
| '''Referencing Object | | '''Referencing Object | ||
− | |- | + | |- |
| Select | | Select | ||
| Function | | Function |