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

From dbscript Online Help
Jump to: navigation, search
Line 5: Line 5:
 
| '''Table
 
| '''Table
 
| Production.ProductSubcategory
 
| Production.ProductSubcategory
 +
|- valign="top"
 +
| '''Description
 +
| Product subcategories. See ProductCategory table.
 
|-
 
|-
 
|}
 
|}
Line 15: Line 18:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description / PK / Index
| '''Index
 
 
 
|-
+
|- valign="top"
 
| ProductSubcategoryID
 
| ProductSubcategoryID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
| PK_ProductSubcategory_ProductSubcategoryID
+
| Primary key for ProductSubcategory records.<br />PK_ProductSubcategory_ProductSubcategoryID
|
+
|- valign="top"
|-
 
 
| ProductCategoryID
 
| ProductCategoryID
 
| int
 
| int
 
| not null
 
| not null
 
|  
 
|  
|  
+
| Product category identification number. Foreign key to ProductCategory.ProductCategoryID.<br />
|
+
|- valign="top"
|-
 
 
| Name
 
| Name
 
| dbo.Name
 
| dbo.Name
 
| not null
 
| not null
 
|  
 
|  
|  
+
| Subcategory description.<br />AK_ProductSubcategory_Name
| AK_ProductSubcategory_Name
+
|- 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.<br />AK_ProductSubcategory_rowguid
| AK_ProductSubcategory_rowguid
+
|- valign="top"
|-
 
 
| ModifiedDate
 
| ModifiedDate
 
| datetime
 
| datetime
 
| not null
 
| not null
 
| (getdate())
 
| (getdate())
|  
+
| Date and time the record was last updated.<br />
|
 
 
|}
 
|}
  
Line 81: Line 78:
 
| ProductSubcategoryID
 
| ProductSubcategoryID
 
|}
 
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Dependency Type
 +
| '''Object Type
 +
| '''Referenced Object
 +
 +
|-
 +
| Data Type
 +
| Type
 +
| [[dbo.Name_(type)|dbo.Name]]
 +
 +
|}
 +
 +
 +
 
== automatically generated ==
 
== automatically generated ==
  

Revision as of 23:55, 28 December 2009

wikibot

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 dbo.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


automatically generated

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