Production.ProductModel Table
Information
| Name | ProductModel |
| 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:56 |
Extended Properties
| Name | Type | Property Name | Value |
| ProductModel | TABLE | MS_Description | Product model classification. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|   |   |   | ProductModelID | int |   | | | |   | |
| |   |   | Name | nvarchar(50) |   | SQL_Latin1_General_CP1_CI_AS | | |   | |
| |   |   | CatalogDescription | xml |   | | | |   | |
| |   |   | Instructions | xml |   | | | |   | |
| |   |   | rowguid | uniqueidentifier |   | | | (newid()) |   | |
| |   |   | ModifiedDate | datetime |   | | | (getdate()) |   | |
Indexes
SQL Script
CREATE TABLE [Production].[ProductModel] (
[ProductModelID] int NOT NULL IDENTITY,
[Name] nvarchar(50) NOT NULL,
[CatalogDescription] xml NULL,
[Instructions] xml NULL,
[rowguid] uniqueidentifier NOT NULL DEFAULT (newid()),
[ModifiedDate] datetime NOT NULL DEFAULT (getdate())
);
CREATE UNIQUE INDEX [AK_ProductModel_Name] on [Production].[ProductModel]([Name]);
CREATE UNIQUE INDEX [AK_ProductModel_rowguid] on [Production].[ProductModel]([rowguid]);