Sales.ShoppingCartItem Table
Information
| Name | ShoppingCartItem |
| Schema | Sales |
| Row Count | 3 |
| Data Size | 8 KB |
| Index Size | 24 KB |
| Reserved Size | 32 KB |
| Unused Size | 0 KB |
| Created | 14.10.2005. 1:58:36 |
| Modified | 2.7.2009. 10:35:10 |
Extended Properties
| Name | Type | Property Name | Value |
|---|---|---|---|
| ShoppingCartItem | TABLE | MS_Description | Contains online customer orders until the order is submitted or cancelled. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|---|---|---|---|---|---|---|---|---|---|---|
|   |   |   | ShoppingCartItemID | int |   |   | ||||
|   |   | ShoppingCartID | nvarchar(100) |   | SQL_Latin1_General_CP1_CI_AS |   | ||||
|   |   | Quantity | int |   | ((1)) |   | ||||
|   |   | ProductID | int |   | Production.Product.ProductID |   | ||||
|   |   | DateCreated | datetime |   | (getdate()) |   | ||||
|   |   | ModifiedDate | datetime |   | (getdate()) |   |
Indexes
| Name | Type | Primary | Unique | Columns |
|---|---|---|---|---|
| PK_ShoppingCartItem_ShoppingCartItemID | Clustered |   |   | ShoppingCartItemID |
| IX_ShoppingCartItem_ShoppingCartID_ProductID | NonClustered |   |   | ShoppingCartID, ProductID |
Check Constraints
| Name | Column | Enabled | Trusted | Expression |
|---|---|---|---|---|
| CK_ShoppingCartItem_Quantity | Quantity |   |   | ([Quantity]>=(1)) |
Foreign Key Constraints
| Name | Type | Referenced Table |
|---|---|---|
| FK_ShoppingCartItem_Product_ProductID | Foreign key | Production.Product |
Triggers
| Name | Activates on | Instead Of | For Replication | Enabled | Created | Modified |
|---|---|---|---|---|---|---|
| uShoppingCartItem | UPDATE |   |   |   | 14.10.2005. 1:59:56 | 2.7.2009. 10:35:10 |
