Difference between revisions of "Sales.ShoppingCartItem (table)"
Line 81: | Line 81: | ||
| '''Table | | '''Table | ||
| Sales.ShoppingCartItem | | Sales.ShoppingCartItem | ||
− | |- | + | |- valign="top" |
| '''Description | | '''Description | ||
Line 103: | Line 103: | ||
| not null | | not null | ||
| | | | ||
− | | Primary key for ShoppingCartItem records.PK_ShoppingCartItem_ShoppingCartItemID | + | | Primary key for ShoppingCartItem records.<br />PK_ShoppingCartItem_ShoppingCartItemID |
|- valign="top" | |- valign="top" | ||
| ShoppingCartID | | ShoppingCartID | ||
Line 109: | Line 109: | ||
| not null | | not null | ||
| | | | ||
− | | Shopping cart identification number.IX_ShoppingCartItem_ShoppingCartID_ProductID | + | | Shopping cart identification number.<br />IX_ShoppingCartItem_ShoppingCartID_ProductID |
|- valign="top" | |- valign="top" | ||
| Quantity | | Quantity | ||
Line 115: | Line 115: | ||
| not null | | not null | ||
| (1) | | (1) | ||
− | | Product quantity ordered. | + | | Product quantity ordered.<br /> |
|- valign="top" | |- valign="top" | ||
| ProductID | | ProductID | ||
Line 121: | Line 121: | ||
| not null | | not null | ||
| | | | ||
− | | Product ordered. Foreign key to Product.ProductID.IX_ShoppingCartItem_ShoppingCartID_ProductID | + | | Product ordered. Foreign key to Product.ProductID.<br />IX_ShoppingCartItem_ShoppingCartID_ProductID |
|- valign="top" | |- valign="top" | ||
| DateCreated | | DateCreated | ||
Line 127: | Line 127: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date the time the record was created. | + | | Date the time the record was created.<br /> |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
Line 133: | Line 133: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated.<br /> |
|} | |} | ||
Revision as of 00:11, 27 November 2009
wikibot
Table | Sales.ShoppingCartItem |
Column | Data Type | Nullable | Default | PK | Index |
ShoppingCartItemID | int | not null | PK_ShoppingCartItem_ShoppingCartItemID | ||
ShoppingCartID | nvarchar(50) | not null | IX_ShoppingCartItem_ShoppingCartID_ProductID | ||
Quantity | int | not null | ((1)) | ||
ProductID | int | not null | IX_ShoppingCartItem_ShoppingCartID_ProductID | ||
DateCreated | datetime | not null | (getdate()) | ||
ModifiedDate | datetime | not null | (getdate()) |
Relation | Column | Referenced Column |
Production.Product | ProductID | ProductID |
automatically generated
Table | Sales.ShoppingCartItem |
Description | Contains online customer orders until the order is submitted or cancelled. |
Column | Data Type | Nullable | Default | Description / PK / Index |
ShoppingCartItemID | int | not null | Primary key for ShoppingCartItem records. PK_ShoppingCartItem_ShoppingCartItemID | |
ShoppingCartID | nvarchar(50) | not null | Shopping cart identification number. IX_ShoppingCartItem_ShoppingCartID_ProductID | |
Quantity | int | not null | (1) | Product quantity ordered. |
ProductID | int | not null | Product ordered. Foreign key to Product.ProductID. IX_ShoppingCartItem_ShoppingCartID_ProductID | |
DateCreated | datetime | not null | (GETDATE()) | Date the time the record was created. |
ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
Relation | Column | Referenced Column |
Production.Product | ProductID | ProductID |