MKTMARKETINGPLANITEMSPEC
Stores specification information for a marketing plan.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
TITLE |
nvarchar(100) |
|
Default = '' |
A title used as a header for the notes. |
NOTES |
nvarchar(max) |
|
Default = '' |
|
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 |
PLANITEMSPECCODEID |
uniqueidentifier |
yes |
MKTPLANITEMSPECCODE.ID
|
The section name for this marketing plan specification. |
MARKETINGPLANITEMID |
uniqueidentifier |
yes |
MKTMARKETINGPLANITEM.ID
|
The parent ID for this level; null for the top-most level. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_MKTMARKETINGPLANITEMSPEC_DATEADDED |
DATEADDED |
|
|
yes |
IX_MKTMARKETINGPLANITEMSPEC_DATECHANGED |
DATECHANGED |
|
|
|
IX_MKTMARKETINGPLANITEMSPEC_MARKETINGPLANITEMID |
MARKETINGPLANITEMID |
|
|
|
PK_MKTMARKETINGPLANITEMSPEC |
ID |
yes |
yes |
|
Triggers