| Owner: | Production |
| Creation Date: | 04/26/2006 |
| Located On: | PRIMARY |
| Data Size KB: | 144 |
| Index Size KB: | 48 |
| Rows: | 128 |
| Description: | Product model classification. |
| Name | Data Type | Length | NULL | Default | IsIdentity | IsGUID | Description | ||
| ProductModelID | int | 4 | Primary key for ProductModel records. | ||||||
| Name | Name | 100 | Product model description. | ||||||
| CatalogDescription | xml | -1 | Detailed product catalog information in xml format. | ||||||
| Instructions | xml | -1 | Manufacturing instructions in xml format. | ||||||
| rowguid | uniqueidentifier | 16 | (newid()) | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | |||||
| ModifiedDate | datetime | 8 | (getdate()) | Date and time the record was last updated. |
| Name | Seed | Increment | Not for replication | |
| ProductModelID | 1 | 1 |
| Index | Primary | Unique | Description | |
| PK_ProductModel_ProductModelID | Primary key (clustered) constraint | |||
| PXML_ProductModel_CatalogDescription | Primary XML index. | |||
| PXML_ProductModel_Instructions | Primary XML index. | |||
| AK_ProductModel_Name | Unique nonclustered index. | |||
| AK_ProductModel_rowguid | Unique nonclustered index. Used to support replication samples. |
Objects that [Production].[ProductModel] depends on
| Object Name | Owner | Object Type | Dep Level | |
| Name | dbo | User Defined type | 1 |
Objects that depend on [Production].[ProductModel]
| Object Name | Owner | Object Type | Dep Level | |
| vProductModelCatalogDescription | Production | View | 1 | |
| vProductModelInstructions | Production | View | 1 | |
| Product | Production | Table | 1 | |
| ProductModelIllustration | Production | Table | 1 | |
| ProductModelProductDescriptionCulture | Production | Table | 1 | |
| vProductAndDescription | Production | View | 2 | |
| BillOfMaterials | Production | Table | 2 | |
| ProductCostHistory | Production | Table | 2 | |
| ProductDocument | Production | Table | 2 | |
| ProductInventory | Production | Table | 2 | |
| ProductListPriceHistory | Production | Table | 2 | |
| ProductProductPhoto | Production | Table | 2 | |
| ProductReview | Production | Table | 2 | |
| ProductVendor | Purchasing | Table | 2 | |
| PurchaseOrderDetail | Purchasing | Table | 2 | |
| ShoppingCartItem | Sales | Table | 2 | |
| SpecialOfferProduct | Sales | Table | 2 | |
| TransactionHistory | Production | Table | 2 | |
| WorkOrder | Production | Table | 2 | |
| ufnGetProductDealerPrice | dbo | Function | 3 | |
| ufnGetProductListPrice | dbo | Function | 3 | |
| ufnGetProductStandardCost | dbo | Function | 3 | |
| ufnGetStock | dbo | Function | 3 | |
| SalesOrderDetail | Sales | Table | 3 | |
| WorkOrderRouting | Production | Table | 3 | |
| uspGetBillOfMaterials | dbo | Procedure | 3 | |
| uspGetWhereUsedProductID | dbo | Procedure | 3 | |
| iPurchaseOrderDetail | Purchasing | Trigger | 3 | |
| iWorkOrder | Production | Trigger | 3 | |
| uPurchaseOrderDetail | Purchasing | Trigger | 3 | |
| uWorkOrder | Production | Trigger | 3 | |
| iduSalesOrderDetail | Sales | Trigger | 4 |
CREATE TABLE [ProductModel] (
[ProductModelID] [int] IDENTITY (1, 1) NOT NULL ,
[Name] [Name] NOT NULL ,
[CatalogDescription] [xml] NULL ,
[Instructions] [xml] NULL ,
[rowguid] uniqueidentifier ROWGUIDCOL NOT NULL CONSTRAINT [DF_ProductModel_rowguid] DEFAULT (newid()),
[ModifiedDate] [datetime] NOT NULL CONSTRAINT [DF_ProductModel_ModifiedDate] DEFAULT (getdate()),
CONSTRAINT [PK_ProductModel_ProductModelID] PRIMARY KEY CLUSTERED
(
[ProductModelID]
) ON [PRIMARY]
) ON [PRIMARY]
GO
See Also
List of tables