MKTSEGMENTATIONACTIVATEPROCESS

Stores information pertaining to all marketing efforts that are ready to be activated.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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.
NAME nvarchar(100) (Computed) yes dbo.[UFN_MKTSEGMENTATION_GETNAME]([SEGMENTATIONID]) The name of the marketing effort to be activated.
RUNSEGMENTATIONSEGMENTCALCULATEPROCESS bit Default = 1 Indicates whether the marketing effort segment record count calculation process should be run prior to activation.
RUNSEGMENTATIONSEGMENTREFRESHPROCESS bit Default = 0 Indicates whether the marketing effort segment refresh process should be run prior to the calculation of segment record counts.
CACHESOURCEANALYSISRULEDATA bit Default = 1 Indicates whether source analysis rule data should be cached during activation.
RUNMARKETINGEXCLUSIONSREPORT bit Default = 1
SEGMENTATIONSEGMENTREFRESHPROCESSLASTRUN datetime yes

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
SEGMENTATIONID uniqueidentifier MKTSEGMENTATION.ID The marketing effort the activation process will use.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSEGMENTATIONACTIVATEPROCESS_DATEADDED DATEADDED yes
IX_MKTSEGMENTATIONACTIVATEPROCESS_DATECHANGED DATECHANGED
PK_MKTSEGMENTATIONACTIVATEPROCESS ID yes yes
UIX_MKTSEGMENTATIONACTIVATEPROCESS_SEGMENTATIONID SEGMENTATIONID yes

Triggers

Trigger Name Description
TR_MKTSEGMENTATIONACTIVATEPROCESS_AUDIT_UPDATE
TR_MKTSEGMENTATIONACTIVATEPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
APPEALMAILINGACTIVATEEMAILJOBSCHEDULE ID
MKTSEGMENTATIONACTIVATEPROCESSEXPORTFORMAT PARAMETERSETID
MKTSEGMENTATIONACTIVATEPROCESSSTATUS PARAMETERSETID