Difference between revisions of "Production.ProductReview (table)"
Line 89: | Line 89: | ||
| ProductID | | ProductID | ||
|} | |} | ||
− | |||
== automatically generated == | == automatically generated == | ||
Line 111: | Line 110: | ||
| '''Nullable | | '''Nullable | ||
| '''Default | | '''Default | ||
− | | '''Description | + | | '''Description / PK / Index |
− | |||
− | |- | + | |- valign="top" |
| ProductReviewID | | ProductReviewID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | Primary key for ProductReview records. | + | | Primary key for ProductReview records.PK_ProductReview_ProductReviewID |
− | + | |- valign="top" | |
− | |- | ||
| ProductID | | ProductID | ||
| int | | int | ||
| not null | | not null | ||
| | | | ||
− | | Product identification number. Foreign key to Product.ProductID. | + | | Product identification number. Foreign key to Product.ProductID.IX_ProductReview_ProductID_Name |
− | + | |- valign="top" | |
− | |- | ||
| ReviewerName | | ReviewerName | ||
| Name | | Name | ||
| not null | | not null | ||
| | | | ||
− | | Name of the reviewer. | + | | Name of the reviewer.IX_ProductReview_ProductID_Name |
− | + | |- valign="top" | |
− | |- | ||
| ReviewDate | | ReviewDate | ||
| datetime | | datetime | ||
Line 141: | Line 136: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date review was submitted. | | Date review was submitted. | ||
− | + | |- valign="top" | |
− | |- | ||
| EmailAddress | | EmailAddress | ||
| nvarchar(50) | | nvarchar(50) | ||
Line 148: | Line 142: | ||
| | | | ||
| Reviewer's e-mail address. | | Reviewer's e-mail address. | ||
− | + | |- valign="top" | |
− | |- | ||
| Rating | | Rating | ||
| int | | int | ||
Line 155: | Line 148: | ||
| | | | ||
| Product rating given by the reviewer. Scale is 1 to 5 with 5 as the highest rating. | | Product rating given by the reviewer. Scale is 1 to 5 with 5 as the highest rating. | ||
− | + | |- valign="top" | |
− | |- | ||
| Comments | | Comments | ||
| nvarchar(3850) | | nvarchar(3850) | ||
| not null | | not null | ||
| | | | ||
− | | Reviewer's | + | | Reviewer's commentsIX_ProductReview_ProductID_Name |
− | + | |- valign="top" | |
− | |- | ||
| ModifiedDate | | ModifiedDate | ||
| datetime | | datetime | ||
Line 169: | Line 160: | ||
| (GETDATE()) | | (GETDATE()) | ||
| Date and time the record was last updated. | | Date and time the record was last updated. | ||
− | |||
|} | |} | ||
Line 184: | Line 174: | ||
| ProductID | | ProductID | ||
| ProductID | | ProductID | ||
+ | |} | ||
+ | |||
+ | |||
+ | {| 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.ProductReview |
Column | Data Type | Nullable | Default | PK | Index |
ProductReviewID | int | not null | PK_ProductReview_ProductReviewID | ||
ProductID | int | not null | IX_ProductReview_ProductID_Name | ||
ReviewerName | dbo.Name | not null | IX_ProductReview_ProductID_Name | ||
ReviewDate | datetime | not null | (getdate()) | ||
EmailAddress | nvarchar(50) | not null | |||
Rating | int | not null | |||
Comments | nvarchar(3850) | null | IX_ProductReview_ProductID_Name | ||
ModifiedDate | datetime | not null | (getdate()) |
Relation | Column | Referenced Column |
Production.Product | ProductID | ProductID |
automatically generated
Table | Production.ProductReview |
Description | Customer reviews of products they have purchased. |
Column | Data Type | Nullable | Default | Description / PK / Index |
ProductReviewID | int | not null | Primary key for ProductReview records.PK_ProductReview_ProductReviewID | |
ProductID | int | not null | Product identification number. Foreign key to Product.ProductID.IX_ProductReview_ProductID_Name | |
ReviewerName | Name | not null | Name of the reviewer.IX_ProductReview_ProductID_Name | |
ReviewDate | datetime | not null | (GETDATE()) | Date review was submitted. |
EmailAddress | nvarchar(50) | not null | Reviewer's e-mail address. | |
Rating | int | not null | Product rating given by the reviewer. Scale is 1 to 5 with 5 as the highest rating. | |
Comments | nvarchar(3850) | not null | Reviewer's commentsIX_ProductReview_ProductID_Name | |
ModifiedDate | datetime | not null | (GETDATE()) | Date and time the record was last updated. |
Relation | Column | Referenced Column |
Production.Product | ProductID | ProductID |
Referenced Object | Object Type | Dependency Type |
dbo.Name | Type | Data Type |