Production.ProductReview Table
Information
| Name | ProductReview |
| Schema | Production |
| Row Count | 4 |
| Data Size | 16 KB |
| Index Size | 56 KB |
| Reserved Size | 72 KB |
| Unused Size | 0 KB |
| Created | 14.10.2005 1:58:34 |
| Modified | 14.10.2005 1:59:54 |
Extended Properties
| Name | Type | Property Name | Value |
|---|---|---|---|
| ProductReview | TABLE | MS_Description | Customer reviews of products they have purchased. |
Columns
| PK | Key | Identity | Name | Data Type | Allow Nulls | Collation | References | Default | Computed | Compute Expression |
|---|---|---|---|---|---|---|---|---|---|---|
|   |   |   | ProductReviewID | int |   |   | ||||
|   |   | ProductID | int |   | Production.Product.ProductID |   | ||||
|   |   | ReviewerName | nvarchar(100) |   | SQL_Latin1_General_CP1_CI_AS |   | ||||
|   |   | ReviewDate | datetime |   | (getdate()) |   | ||||
|   |   | EmailAddress | nvarchar(100) |   | SQL_Latin1_General_CP1_CI_AS |   | ||||
|   |   | Rating | int |   |   | |||||
|   |   | Comments | nvarchar(7700) |   | SQL_Latin1_General_CP1_CI_AS |   | ||||
|   |   | ModifiedDate | datetime |   | (getdate()) |   |
Indexes
| Name | Type | Primary | Unique | Columns |
|---|---|---|---|---|
| PK_ProductReview_ProductReviewID | Clustered |   |   | ProductReviewID |
| IX_ProductReview_ProductID_Name | NonClustered |   |   | ProductID, ReviewerName |
Check Constraints
| Name | Column | Enabled | Trusted | Expression |
|---|---|---|---|---|
| CK_ProductReview_Rating | Rating |   |   | ([Rating]>=(1) AND [Rating]<=(5)) |
Foreign Key Constraints
| Name | Type | Referenced Table |
|---|---|---|
| FK_ProductReview_Product_ProductID | Foreign key | Production.Product |
Triggers
| Name | Activates on | Instead Of | For Replication | Enabled | Created | Modified |
|---|---|---|---|---|---|---|
| Production.uProductReview | UPDATE |   |   |   | 14.10.2005 1:59:54 | 14.10.2005 1:59:54 |
