MKTMARKETINGPLANTEMPLATE
Stores information pertaining to a marketing plan template, which defines roll-up levels and level names.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| NAME |
nvarchar(50) |
|
Default = '' |
A short description for the marketing plan template. |
| ISDEFAULT |
bit |
|
Default = 0 |
The marketing plan template that will be selected when a new plan is created. |
| 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
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| SITEID |
uniqueidentifier |
yes |
SITE.ID
|
The site to which this marketing plan template belongs. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_MKTMARKETINGPLANTEMPLATE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_MKTMARKETINGPLANTEMPLATE_DATECHANGED |
DATECHANGED |
|
|
|
| IX_MKTMARKETINGPLANTEMPLATE_SITEID |
SITEID |
|
|
|
| PK_MKTMARKETINGPLANTEMPLATE |
ID |
yes |
yes |
|
| UC_MKTMARKETINGPLANTEMPLATE_NAME |
NAME |
yes |
|
|
Triggers
Referenced by