Difference between revisions of "Production.ProductModel (table)"

From dbscript Online Help
Jump to: navigation, search
Line 83: Line 83:
 
| ProductModelID
 
| ProductModelID
 
|}
 
|}
 
 
== automatically generated ==
 
== automatically generated ==
  
Line 105: Line 104:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''Description
+
| '''Description / PK / Index
| '''PK / Index
 
 
 
|-
+
|- valign="top"
 
| ProductModelID
 
| ProductModelID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| Primary key for ProductModel records.
+
| Primary key for ProductModel records.PK_ProductModel_ProductModelID
| PK_ProductModel_ProductModelID
+
|- valign="top"
|-
 
 
| Name
 
| Name
 
| Name
 
| Name
 
| not null
 
| not null
 
|  
 
|  
| Product model description.
+
| Product model description.AK_ProductModel_Name
| AK_ProductModel_Name
+
|- valign="top"
|-
 
 
| CatalogDescription
 
| CatalogDescription
 
| XML
 
| XML
 
| null
 
| null
 
|  
 
|  
| Detailed product catalog information in xml format.
+
| Detailed product catalog information in xml format.PXML_ProductModel_CatalogDescription
| PXML_ProductModel_CatalogDescription
+
|- valign="top"
|-
 
 
| Instructions
 
| Instructions
 
| XML
 
| XML
 
| null
 
| null
 
|  
 
|  
| Manufacturing instructions in xml format.
+
| Manufacturing instructions in xml format.PXML_ProductModel_Instructions
| PXML_ProductModel_Instructions
+
|- valign="top"
|-
 
 
| rowguid
 
| rowguid
 
| uniqueidentifier
 
| uniqueidentifier
 
| not null
 
| not null
 
| (NEWID())
 
| (NEWID())
| ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
+
| ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.AK_ProductModel_rowguid
| AK_ProductModel_rowguid
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
Line 149: Line 142:
 
| (GETDATE())
 
| (GETDATE())
 
| Date and time the record was last updated.
 
| Date and time the record was last updated.
|
 
 
|}
 
|}
  
Line 172: Line 164:
 
| ProductModelID
 
| ProductModelID
 
| ProductModelID
 
| ProductModelID
 +
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Referenced Object
 +
| '''Object Type
 +
| '''Dependency Type
 +
 +
|-
 +
| [[dbo.Name_(type)|dbo.Name]]
 +
| Type
 +
| Data Type
 +
|-
 +
| [[Production.ManuInstructionsSchemaCollection_(xml_schema_collection)|Production.ManuInstructionsSchemaCollection]]
 +
| XML Schema Collection
 +
| Data Type
 +
|-
 +
| [[Production.ProductDescriptionSchemaCollection_(xml_schema_collection)|Production.ProductDescriptionSchemaCollection]]
 +
| XML Schema Collection
 +
| Data Type
 +
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Referencing Object
 +
| '''Object Type
 +
| '''Reference Type
 +
 +
|-
 +
| [[Production.vProductAndDescription_(view)|Production.vProductAndDescription]]
 +
| View
 +
| Select
 +
|-
 +
| [[Production.vProductModelCatalogDescription_(view)|Production.vProductModelCatalogDescription]]
 +
| View
 +
| Select
 +
|-
 +
| [[Production.vProductModelInstructions_(view)|Production.vProductModelInstructions]]
 +
| View
 +
| Select
 
|}
 
|}

Revision as of 00:57, 27 November 2009

wikibot

Table Production.ProductModel


Column Data Type Nullable Default PK Index
ProductModelID int not null PK_ProductModel_ProductModelID
Name dbo.Name not null AK_ProductModel_Name
CatalogDescription xml null PXML_ProductModel_CatalogDescription
Instructions xml null PXML_ProductModel_Instructions
rowguid uniqueidentifier not null (newid()) AK_ProductModel_rowguid
ModifiedDate datetime not null (getdate())


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

automatically generated

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


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


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