| Field Name | Data Type | Size | Original Type | Default | Nullable | Description | Check |
|---|---|---|---|---|---|---|---|
| ProductCategoryID | int identity | int | Not null | Primary key for ProductCategory records. | |||
| Name | Name | nvarchar(50) | Not null | Category description. | |||
| rowguid | uniqueidentifier | newid() | Not null | ROWGUIDCOL number uniquely identifying the record. Used to support a merge replication sample. | |||
| ModifiedDate | datetime | getdate() | Not null | Date and time the record was last updated. |
The object has no extended properties.
| Primary Key Name | Field Name |
|---|---|
| PK_ProductCategory_ProductCategoryID | ProductCategoryID |
| Index Name | Description | Clustered | Unique | Fields |
|---|---|---|---|---|
| PK_ProductCategory_ProductCategoryID | Clustered index created by a primary key constraint. | Yes | Yes | ProductCategoryID |
| AK_ProductCategory_Name | Unique nonclustered index. | No | Yes | Name |
| AK_ProductCategory_rowguid | Unique nonclustered index. Used to support replication samples. | No | Yes | rowguid |
| Name | Description | Type | Enabled |
|---|---|---|---|
| uProductCategory | AFTER UPDATE trigger setting the ModifiedDate column in the ProductCategory table to the current date. | after Update | Yes |
| Object Name | Type | Field Name |
|---|---|---|
| Production.uProductCategory | trigger | N/A |