Production.ProductInventory Table
Information
| Name | ProductInventory |
| Schema | Production |
| Row Count | 1069 |
| Data Size | 56 KB |
| Index Size | 16 KB |
| Reserved Size | 72 KB |
| Unused Size | 0 KB |
| Created | 14.10.2005 1:58:34 |
| Modified | 14.10.2005 1:59:53 |
Extended Properties
| Name | Type | Property Name | Value |
|---|---|---|---|
| ProductInventory | TABLE | MS_Description | Product inventory information. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|---|---|---|---|---|---|---|---|---|---|---|
|   |   |   | ProductID | int |   | Production.Product.ProductID |   | |||
|   |   |   | LocationID | smallint |   | Production.Location.LocationID |   | |||
|   |   | Shelf | nvarchar(20) |   | SQL_Latin1_General_CP1_CI_AS |   | ||||
|   |   | Bin | tinyint |   |   | |||||
|   |   | Quantity | smallint |   | ((0)) |   | ||||
|   |   | rowguid | uniqueidentifier |   | (newid()) |   | ||||
|   |   | ModifiedDate | datetime |   | (getdate()) |   |
Indexes
| Name | Type | Primary | Unique | Columns |
|---|---|---|---|---|
| PK_ProductInventory_ProductID_LocationID | Clustered |   |   | ProductID, LocationID |
Check Constraints
| Name | Column | Enabled | Trusted | Expression |
|---|---|---|---|---|
| CK_ProductInventory_Shelf | Shelf |   |   | ([Shelf] like '[A-Za-z]' OR [Shelf]='N/A') |
| CK_ProductInventory_Bin | Bin |   |   | ([Bin]>=(0) AND [Bin]<=(100)) |
Foreign Key Constraints
| Name | Type | Referenced Table |
|---|---|---|
| FK_ProductInventory_Location_LocationID | Foreign key | Production.Location |
| FK_ProductInventory_Product_ProductID | Foreign key | Production.Product |
Triggers
| Name | Activates on | Instead Of | For Replication | Enabled | Created | Modified |
|---|---|---|---|---|---|---|
| Production.uProductInventory | UPDATE |   |   |   | 14.10.2005 1:59:53 | 14.10.2005 1:59:53 |
