| Field Name | Data Type | Size | Original Type | Default | Nullable | Description | Check |
|---|---|---|---|---|---|---|---|
| ProductPhotoID | int identity | int | Not null | Primary key for ProductPhoto records. | |||
| ThumbNailPhoto | varbinary | Null | Small image of the product. | ||||
| ThumbnailPhotoFileName | nvarchar | 50 | Null | Small image file name. | |||
| LargePhoto | varbinary | Null | Large image of the product. | ||||
| LargePhotoFileName | nvarchar | 50 | Null | Large image file name. | |||
| 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_ProductPhoto_ProductPhotoID | ProductPhotoID |
| Index Name | Description | Clustered | Unique | Fields |
|---|---|---|---|---|
| PK_ProductPhoto_ProductPhotoID | Clustered index created by a primary key constraint. | Yes | Yes | ProductPhotoID |
| Name | Description | Type | Enabled |
|---|---|---|---|
| uProductPhoto | AFTER UPDATE trigger setting the ModifiedDate column in the ProductPhoto table to the current date. | after Update | Yes |
| Object Name | Type | Field Name |
|---|---|---|
| Production.uProductPhoto | trigger | N/A |