Editing Sales.ShoppingCartItem (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 | ||
| Sales.ShoppingCartItem | | Sales.ShoppingCartItem | ||
− | |- | + | |- |
− | |||
− | |||
|} | |} | ||
− | + | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 17: | Line 15: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | ''' | + | | '''PK |
− | + | | '''Index | |
− | |- | + | |
+ | |- | ||
| ShoppingCartItemID | | ShoppingCartItemID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | PK_ShoppingCartItem_ShoppingCartItemID |
− | |- | + | | |
+ | |- | ||
| ShoppingCartID | | ShoppingCartID | ||
| nvarchar(50) | | nvarchar(50) | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | IX_ShoppingCartItem_ShoppingCartID_ProductID |
+ | |- | ||
| Quantity | | Quantity | ||
| int | | int | ||
| not null | | not null | ||
| ((1)) | | ((1)) | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ProductID | | ProductID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | | + | | |
− | |- | + | | IX_ShoppingCartItem_ShoppingCartID_ProductID |
+ | |- | ||
| DateCreated | | DateCreated | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | | | + | | |
− | |- | + | | |
+ | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| not null | | not null | ||
| (getdate()) | | (getdate()) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| | | | ||
− | | | + | | |
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 99: | Line 69: | ||
| '''Column | | '''Column | ||
| '''Referenced Column | | '''Referenced Column | ||
− | + | ||
− | |- | + | |- |
| [[Production.Product_(table)|Production.Product]] | | [[Production.Product_(table)|Production.Product]] | ||
| ProductID | | ProductID | ||
| ProductID | | ProductID | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== automatically generated == | == automatically generated == | ||
Line 127: | Line 81: | ||
| '''Table | | '''Table | ||
| Sales.ShoppingCartItem | | Sales.ShoppingCartItem | ||
− | |- | + | |- |
+ | |||
| '''Description | | '''Description | ||
| Contains online customer orders until the order is submitted or cancelled. | | Contains online customer orders until the order is submitted or cancelled. | ||
|- | |- | ||
+ | |||
|} | |} | ||
Line 147: | Line 103: | ||
| not null | | not null | ||
| | | | ||
− | | Primary key for ShoppingCartItem records. | + | | Primary key for ShoppingCartItem records.PK_ShoppingCartItem_ShoppingCartItemID |
|- valign="top" | |- valign="top" | ||
| ShoppingCartID | | ShoppingCartID | ||
Line 153: | Line 109: | ||
| not null | | not null | ||
| | | | ||
− | | Shopping cart identification number. | + | | Shopping cart identification number.IX_ShoppingCartItem_ShoppingCartID_ProductID |
|- valign="top" | |- valign="top" | ||
| Quantity | | Quantity | ||
Line 159: | Line 115: | ||
| not null | | not null | ||
| (1) | | (1) | ||
− | | Product quantity ordered. | + | | Product quantity ordered. |
|- valign="top" | |- valign="top" | ||
| ProductID | | ProductID | ||
Line 165: | Line 121: | ||
| not null | | not null | ||
| | | | ||
− | | Product ordered. Foreign key to Product.ProductID. | + | | Product ordered. Foreign key to Product.ProductID.IX_ShoppingCartItem_ShoppingCartID_ProductID |
|- valign="top" | |- valign="top" | ||
| DateCreated | | DateCreated | ||
Line 171: | Line 127: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date the time the record was created. | + | | Date the time the record was created. |
|- valign="top" | |- valign="top" | ||
| ModifiedDate | | ModifiedDate | ||
Line 177: | Line 133: | ||
| not null | | not null | ||
| (GETDATE()) | | (GETDATE()) | ||
− | | Date and time the record was last updated. | + | | Date and time the record was last updated. |
|} | |} | ||
Line 192: | Line 148: | ||
| ProductID | | ProductID | ||
| ProductID | | ProductID | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} |