MERCHANDISEPRODUCTOPTION
Holds the option groups for a merchandise item.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
NAME |
nvarchar(50) |
|
Default = '' |
The name of the option group. |
DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
TS |
timestamp |
|
|
Timestamp. |
TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
SEQUENCE |
int |
|
Default = 0 |
|
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
MERCHANDISEPRODUCTID |
uniqueidentifier |
yes |
MERCHANDISEPRODUCT.ID
|
Foreign key to the merchandise item table. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_MERCHANDISEPRODUCTOPTION_DATEADDED |
DATEADDED |
|
|
yes |
IX_MERCHANDISEPRODUCTOPTION_DATECHANGED |
DATECHANGED |
|
|
|
PK_MERCHANDISEPRODUCTOPTION |
ID |
yes |
yes |
|
UIX_MERCHANDISEPRODUCTOPTION_MERCHANDISEPRODUCTID_NAME |
MERCHANDISEPRODUCTID, NAME |
yes |
|
|
Triggers
Referenced by