Difference between revisions of "Production.ProductSubcategory (table)"
| Line 81: | Line 81: | ||
| ProductSubcategoryID | | ProductSubcategoryID | ||
|} | |} | ||
| − | |||
== automatically generated == | == automatically generated == | ||
| Line 103: | Line 102: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
| − | | '''Description | + | | '''Description / PK / Index |
| − | |||
| − | |- | + | |- valign="top" |
| ProductSubcategoryID | | ProductSubcategoryID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
| − | | Primary key for ProductSubcategory records. | + | | Primary key for ProductSubcategory records.PK_ProductSubcategory_ProductSubcategoryID |
| − | + | |- valign="top" | |
| − | |- | ||
| ProductCategoryID | | ProductCategoryID | ||
| int | | int | ||
| Line 119: | Line 116: | ||
| | | | ||
| Product category identification number. Foreign key to ProductCategory.ProductCategoryID. | | Product category identification number. Foreign key to ProductCategory.ProductCategoryID. | ||
| − | + | |- valign="top" | |
| − | |- | ||
| Name | | Name | ||
| Name | | Name | ||
| not null | | not null | ||
| | | | ||
| − | | Subcategory description. | + | | Subcategory description.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. | + | | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample.AK_ProductSubcategory_rowguid |
| − | + | |- valign="top" | |
| − | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
| Line 140: | Line 134: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
| − | |||
|} | |} | ||
| Line 168: | Line 161: | ||
| ProductSubcategoryID | | ProductSubcategoryID | ||
| ProductSubcategoryID | | ProductSubcategoryID | ||
| + | |} | ||
| + | |||
| + | |||
| + | {| 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 | ||
|} | |} | ||
Revision as of 23:57, 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 |
| Referenced Object | Object Type | Dependency Type |
| dbo.Name | Type | Data Type |