MKTMARKETINGPLANITEMSPEC (4.0SP17)

Stores specification information for a marketing plan.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PLANITEMSPECCODEID

uniqueidentifier

true

The section name for this marketing plan specification.

MARKETINGPLANITEMID

uniqueidentifier

true

The parent ID for this level; null for the top-most level.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

TITLE

nvarchar(100)

false

''

A title used as a header for the notes.

NOTES

nvarchar(max)

false

''

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MKTMARKETINGPLANITEMSPEC_DATEADDED

DATEADDED

False

False

True

IX_MKTMARKETINGPLANITEMSPEC_DATECHANGED

DATECHANGED

False

False

False

IX_MKTMARKETINGPLANITEMSPEC_MARKETINGPLANITEMID

MARKETINGPLANITEMID

False

False

False

PK_MKTMARKETINGPLANITEMSPEC

ID

True

True

False

Triggers
Trigger Name Description

TR_MKTMARKETINGPLANITEMSPEC_AUDIT_UPDATE

TR_MKTMARKETINGPLANITEMSPEC_AUDIT_DELETE