Production.ProductModel (table)

From dbscript Online Help
Jump to: navigation, search

wikibot[edit]

Table Production.ProductModel
Description Product model classification.

Columns[edit]

Column Data Type Nullable Default Description
ProductModelID int not null Primary key for ProductModel records.
Name dbo.Name not null Product model description.
CatalogDescription xml null Detailed product catalog information in xml format.
Instructions xml null Manufacturing instructions in xml format.
rowguid uniqueidentifier not null (newid()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
ModifiedDate datetime not null (getdate()) Date and time the record was last updated.

Primary Key[edit]

Primary Key Columns
PK_ProductModel_ProductModelID ProductModelID

Indexes[edit]

Index Type Columns
AK_ProductModel_Name Unique Name
AK_ProductModel_rowguid Unique rowguid
PXML_ProductModel_CatalogDescription CatalogDescription
PXML_ProductModel_Instructions Instructions

Detail Tables[edit]

Detail Table Column Referencing Column
Production.Product ProductModelID ProductModelID
Production.ProductModelIllustration ProductModelID ProductModelID
Production.ProductModelProductDescriptionCulture ProductModelID ProductModelID

References[edit]

Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Production
Data Type XML Schema Collection Production.ManuInstructionsSchemaCollection
Data Type XML Schema Collection Production.ProductDescriptionSchemaCollection

Dependencies[edit]

Reference Type Object Type Referencing Object
Select View Production.vProductAndDescription
Select View Production.vProductModelCatalogDescription
Select View Production.vProductModelInstructions


automatically generated[edit]

Table Production.ProductModel
Description Product model classification.


Column Data Type Nullable Default Description / PK / Index
ProductModelID int not null Primary key for ProductModel records.
PK_ProductModel_ProductModelID
Name Name not null Product model description.
AK_ProductModel_Name
CatalogDescription XML null Detailed product catalog information in xml format.
PXML_ProductModel_CatalogDescription
Instructions XML null Manufacturing instructions in xml format.
PXML_ProductModel_Instructions
rowguid uniqueidentifier not null (NEWID()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_ProductModel_rowguid
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Detail Table Column Referencing Column
Production.Product ProductModelID ProductModelID
Production.ProductModelIllustration ProductModelID ProductModelID
Production.ProductModelProductDescriptionCulture ProductModelID ProductModelID


Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Production
Data Type XML Schema Collection Production.ManuInstructionsSchemaCollection
Data Type XML Schema Collection Production.ProductDescriptionSchemaCollection


Reference Type Object Type Referencing Object
Select View Production.vProductAndDescription
Select View Production.vProductModelCatalogDescription
Select View Production.vProductModelInstructions