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

From dbscript Online Help
Jump to: navigation, search
 
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| '''Table
 
| '''Table
 
| Production.ProductSubcategory
 
| Production.ProductSubcategory
Line 8: Line 8:
 
| '''Description
 
| '''Description
 
| Product subcategories. See ProductCategory table.
 
| Product subcategories. See ProductCategory table.
|-
 
 
|}
 
|}
 
  
 
=== Columns ===
 
=== Columns ===
Line 20: Line 18:
 
| '''Default
 
| '''Default
 
| '''Description
 
| '''Description
+
 
 
|- valign="top"
 
|- valign="top"
 
| ProductSubcategoryID
 
| ProductSubcategoryID
Line 58: Line 56:
 
| '''Primary Key
 
| '''Primary Key
 
| '''Columns
 
| '''Columns
|-
+
|- valign="top"
 
| PK_ProductSubcategory_ProductSubcategoryID
 
| PK_ProductSubcategory_ProductSubcategoryID
 
| ProductSubcategoryID
 
| ProductSubcategoryID
Line 69: Line 67:
 
| '''Type
 
| '''Type
 
| '''Columns
 
| '''Columns
+
 
|-
+
|- valign="top"
 
| AK_ProductSubcategory_Name
 
| AK_ProductSubcategory_Name
 
| Unique
 
| Unique
 
| Name
 
| Name
|-
+
|- valign="top"
 
| AK_ProductSubcategory_rowguid
 
| AK_ProductSubcategory_rowguid
 
| Unique
 
| Unique
Line 86: Line 84:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
+
 
|-
+
|- valign="top"
 
| [[Production.ProductCategory_(table)|Production.ProductCategory]]
 
| [[Production.ProductCategory_(table)|Production.ProductCategory]]
 
| ProductCategoryID
 
| ProductCategoryID
Line 99: Line 97:
 
| '''Column
 
| '''Column
 
| '''Referencing Column
 
| '''Referencing Column
+
 
|-
+
|- valign="top"
 
| [[Production.Product_(table)|Production.Product]]
 
| [[Production.Product_(table)|Production.Product]]
 
| ProductSubcategoryID
 
| ProductSubcategoryID
Line 113: Line 111:
 
| '''Referenced Object
 
| '''Referenced Object
  
|-
+
|- valign="top"
 
| Data Type
 
| Data Type
 
| Type
 
| Type
 
| [[dbo.Name_(type)|dbo.Name]]
 
| [[dbo.Name_(type)|dbo.Name]]
  
|-
+
|- valign="top"
 
| Schema
 
| Schema
 
| Schema
 
| Schema

Latest revision as of 00:16, 24 June 2010

wikibot[edit]

Table Production.ProductSubcategory
Description Product subcategories. See ProductCategory table.

Columns[edit]

Column Data Type Nullable Default Description
ProductSubcategoryID int not null Primary key for ProductSubcategory records.
ProductCategoryID int not null Product category identification number. Foreign key to ProductCategory.ProductCategoryID.
Name dbo.Name not null Subcategory description.
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_ProductSubcategory_ProductSubcategoryID ProductSubcategoryID

Indexes[edit]

Index Type Columns
AK_ProductSubcategory_Name Unique Name
AK_ProductSubcategory_rowguid Unique rowguid

Foreign Keys[edit]

Relation Column Referenced Column
Production.ProductCategory ProductCategoryID ProductCategoryID

Detail Tables[edit]

Detail Table Column Referencing Column
Production.Product ProductSubcategoryID ProductSubcategoryID

References[edit]

Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Production


automatically generated[edit]

Table Production.ProductSubcategory
Description Product subcategories. See ProductCategory table.


Column Data Type Nullable Default Description / PK / Index
ProductSubcategoryID int not null Primary key for ProductSubcategory records.
PK_ProductSubcategory_ProductSubcategoryID
ProductCategoryID int not null Product category identification number. Foreign key to ProductCategory.ProductCategoryID.
Name Name not null Subcategory description.
AK_ProductSubcategory_Name
rowguid uniqueidentifier not null (NEWID()) ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.
AK_ProductSubcategory_rowguid
ModifiedDate datetime not null (GETDATE()) Date and time the record was last updated.


Relation Column Referenced Column
Production.ProductCategory ProductCategoryID ProductCategoryID


Detail Table Column Referencing Column
Production.Product ProductSubcategoryID ProductSubcategoryID


Dependency Type Object Type Referenced Object
Data Type Type dbo.Name
Schema Schema Production