Difference between revisions of "Sales.ShoppingCartItem (table)"

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| Sales.ShoppingCartItem
 
| Sales.ShoppingCartItem
 +
|- valign="top"
 +
| '''Description
 +
| Contains online customer orders until the order is submitted or cancelled.
 
|-
 
|-
 
|}
 
|}
Line 15: Line 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description / PK / Index
| '''Index
 
 
 
|-
+
|- valign="top"
 
| ShoppingCartItemID
 
| ShoppingCartItemID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_ShoppingCartItem_ShoppingCartItemID
+
| Primary key for ShoppingCartItem records.<br />PK_ShoppingCartItem_ShoppingCartItemID
|
+
|- valign="top"
|-
 
 
| ShoppingCartID
 
| ShoppingCartID
 
| nvarchar(50)
 
| nvarchar(50)
 
| not null
 
| not null
 
|  
 
|  
|  
+
| Shopping cart identification number.<br />IX_ShoppingCartItem_ShoppingCartID_ProductID
| IX_ShoppingCartItem_ShoppingCartID_ProductID
+
|- valign="top"
|-
 
 
| Quantity
 
| Quantity
 
| int
 
| int
 
| not null
 
| not null
 
| ((1))
 
| ((1))
|  
+
| Product quantity ordered.<br />
|
+
|- valign="top"
|-
 
 
| ProductID
 
| ProductID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
|  
+
| Product ordered. Foreign key to Product.ProductID.<br />IX_ShoppingCartItem_ShoppingCartID_ProductID
| IX_ShoppingCartItem_ShoppingCartID_ProductID
+
|- valign="top"
|-
 
 
| DateCreated
 
| DateCreated
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date the time the record was created.<br />
|
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date and time the record was last updated.<br />
|
 
 
|}
 
|}
  
Line 75: Line 71:
 
| ProductID
 
| ProductID
 
|}
 
|}
 +
 +
 +
 
== automatically generated ==
 
== automatically generated ==
  

Revision as of 23:55, 28 December 2009

wikibot

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


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


Dependency Type Object Type Referenced Object
Schema Schema Sales