MKTSEGMENTATIONSEGMENTCALCULATEPROCESS

Stores information pertaining to the calculation of record counts for a marketing effort's segments.

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 whose segment counts will be calculated.
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 = 0 Indicates whether source analysis rule data should be cached during the calculation of segment record counts.
SOURCEANALYSISRULEDATALASTCACHED datetime yes Records the date and time that source analysis rule data was last cached.
RUNMARKETINGEXCLUSIONSREPORT bit Default = 1

Foreign Keys

Foreign Key Field Type Null Notes Description
SEGMENTATIONID uniqueidentifier MKTSEGMENTATION.ID The marketing effort whose segment counts will be calculated.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSEGMENTATIONSEGMENTCALCULATEPROCESS_DATEADDED DATEADDED yes
IX_MKTSEGMENTATIONSEGMENTCALCULATEPROCESS_DATECHANGED DATECHANGED
PK_MKTSEGMENTATIONSEGMENTCALCULATEPROCESS ID yes yes
UIX_MKTSEGMENTATIONSEGMENTCALCULATEPROCESS_SEGMENTATIONID SEGMENTATIONID yes

Triggers

Trigger Name Description
TR_MKTSEGMENTATIONSEGMENTCALCULATEPROCESS_AUDIT_UPDATE
TR_MKTSEGMENTATIONSEGMENTCALCULATEPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
MKTSEGMENTATIONSEGMENTCALCULATEPROCESSEXPORTFORMAT PARAMETERSETID
MKTSEGMENTATIONSEGMENTCALCULATEPROCESSSTATUS PARAMETERSETID