MKTMARKETINGPLANTEMPLATEITEM
Stores attributes of a marketing plan template.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
CAPTION |
nvarchar(50) |
|
Default = '' |
A description for the marketing plan template item. |
BACKCOLOR |
int |
|
Default = 0 |
|
FORECOLOR |
int |
|
Default = 0 |
|
CAPTIONCOLOR |
int |
|
Default = 0 |
|
LEVEL |
tinyint |
|
Default = 0 |
Determines relative position of the level |
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. |
Foreign Keys
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_MKTMARKETINGPLANTEMPLATEITEM_DATEADDED |
DATEADDED |
|
|
yes |
IX_MKTMARKETINGPLANTEMPLATEITEM_DATECHANGED |
DATECHANGED |
|
|
|
PK_MKTMARKETINGPLANTEMPLATEITEM |
ID |
yes |
yes |
|
UIX_MKTMARKETINGPLANTEMPLATEITEM_MARKETINGPLANTEMPLATEID_CAPTION |
MARKETINGPLANTEMPLATEID, CAPTION |
yes |
|
|
Triggers