AdventureWorks
| Table Name: | Production.ProductCategory |
| Description: | High-level product categorization. |
| Primary Keys: | ProductCategoryID |
| Field | Type | Defaults | Nulls? | Comments |
|---|---|---|---|---|
| ProductCategoryID | int - Identity | None | No | Primary key for ProductCategory records. |
| Name | nvarchar (50) | None | No | Category description. |
| rowguid | uniqueidentifier | (newid()) | No | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. |
| ModifiedDate | datetime | (getdate()) | No | Date and time the record was last updated. |
| Index | Clustered? | Unique? | Fields |
|---|---|---|---|
| PK_ProductCategory_ProductCategoryID | Yes | Yes | ProductCategoryID |
| AK_ProductCategory_Name | No | Yes | Name |
| AK_ProductCategory_rowguid | No | Yes | rowguid |
| Primary Key as Foreign Key Constraint | Affected Table | Affected Field |
|---|---|---|
| FK_ProductSubcategory_ProductCategory_ProductCategoryID | Production.ProductSubcategory | ProductCategoryID |