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

From dbscript Online Help
Jump to: navigation, search
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | Production.ProductSubcategory |- |} {| border="1" cellpadding="5" cellspacin...)
 
Line 52: Line 52:
 
| (getdate())
 
| (getdate())
 
|  
 
|  
 +
|
 +
|}
 +
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Relation
 +
| '''Column
 +
| '''Referenced Column
 +
 +
|-
 +
| [[Production.ProductCategory_(table)|Production.ProductCategory]]
 +
| ProductCategoryID
 +
| ProductCategoryID
 +
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Detail Table
 +
| '''Column
 +
| '''Referencing Column
 +
 +
|-
 +
| [[Production.Product_(table)|Production.Product]]
 +
| ProductSubcategoryID
 +
| ProductSubcategoryID
 +
|}
 +
 +
== automatically generated ==
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|-
 +
| '''Table
 +
| Production.ProductSubcategory
 +
|-
 +
 +
| '''Description
 +
| Product subcategories. See ProductCategory table.
 +
|-
 +
 +
|}
 +
 +
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''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.
 
|  
 
|  
 
|}
 
|}

Revision as of 23:27, 26 November 2009

wikibot

Table Production.ProductSubcategory


Column Data Type Nullable Default PK Index
ProductSubcategoryID int not null PK_ProductSubcategory_ProductSubcategoryID
ProductCategoryID int not null
Name dbo.Name not null AK_ProductSubcategory_Name
rowguid uniqueidentifier not null (newid()) AK_ProductSubcategory_rowguid
ModifiedDate datetime not null (getdate())


Relation Column Referenced Column
Production.ProductCategory ProductCategoryID ProductCategoryID


Detail Table Column Referencing Column
Production.Product ProductSubcategoryID ProductSubcategoryID

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