Production.ProductInventory Table
Information
| Name | ProductInventory |
| Schema | Production |
| Row Count | 0 |
| Data Size | |
| Index Size | |
| Reserved Size | |
| Unused Size | |
| Created | 29.3.2010. 21:58:18 |
| Modified | 29.3.2010. 21:58:54 |
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(10) |   | SQL_Latin1_General_CP1_CI_AS | | |   | |
| |   |   | Bin | tinyint |   | | | |   | |
| |   |   | Quantity | smallint |   | | | ((0)) |   | |
| |   |   | rowguid | uniqueidentifier |   | | | (newid()) |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
Check Constraints
Foreign Key Constraints
SQL Script
CREATE TABLE [Production].[ProductInventory] (
[ProductID] int NOT NULL,
[LocationID] smallint NOT NULL,
[Shelf] nvarchar(10) NOT NULL,
[Bin] tinyint NOT NULL,
[Quantity] smallint NOT NULL DEFAULT ((0)),
[rowguid] uniqueidentifier NOT NULL DEFAULT (newid()),
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);