Welcome Guest, you are in: Login

devio dbscript ScrewTurn Wiki

RSS RSS

Navigation





Search the wiki
»

PoweredBy

Page History: Sales ShoppingCartItem (table)

Compare Page Revisions



« Older Revision - Back to Page History - Current Revision


Page Revision: 2010/06/24 01:10


wikibot

TableSales.ShoppingCartItem
DescriptionContains online customer orders until the order is submitted or cancelled.

Columns

ColumnData TypeNullableDefaultDescription
ShoppingCartItemIDintnot null Primary key for ShoppingCartItem records.
ShoppingCartIDnvarchar(50)not null Shopping cart identification number.
Quantityintnot null((1))Product quantity ordered.
ProductIDintnot null Product ordered. Foreign key to Product.ProductID.
DateCreateddatetimenot null(getdate())Date the time the record was created.
ModifiedDatedatetimenot null(getdate())Date and time the record was last updated.

Primary Key

Primary KeyColumns
PK_ShoppingCartItem_ShoppingCartItemIDShoppingCartItemID

Indexes

IndexTypeColumns
IX_ShoppingCartItem_ShoppingCartID_ProductID ShoppingCartID, ProductID

Check Constraints

Check ConstraintExpressionDescription
CK_ShoppingCartItem_Quantity(Quantity>=(1))Check constraint Quantity >= (1)

Foreign Keys

RelationColumnReferenced Column
Production.ProductProductIDProductID

References

Dependency TypeObject TypeReferenced Object
SchemaSchemaSales

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam.