MKTSEGMENTATIONEXPORTPROCESS

Stores information pertaining to a marketing effort export parameter set.

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.
DESCRIPTION nvarchar(255) Default = '' A description of the export.
NAME nvarchar(100) (Computed) yes dbo.[UFN_MKTSEGMENTATION_GETNAME]([SEGMENTATIONID]) The marketing effort name to be used as the parameter set name.
EXPORTACTIVESEGMENTS bit Default = 1 Indicates that this export should include segments that are not inline exclusions.
EXPORTINLINEEXCLUSIONS bit Default = 0 Indicates that this export should include inline exclusions.

Foreign Keys

Foreign Key Field Type Null Notes Description
SEGMENTATIONID uniqueidentifier MKTSEGMENTATION.ID The marketing effort the export process will use.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
MAILEXPORTDEFINITIONID uniqueidentifier yes EXPORTDEFINITION.ID The export definition to use when exporting segments in a marketing effort with mail packages not already associated with an export definition.
EMAILEXPORTDEFINITIONID uniqueidentifier yes EXPORTDEFINITION.ID The export definition to use when exporting segments in a marketing effort with email packages not already associated with an export definition.
PHONEEXPORTDEFINITIONID uniqueidentifier yes EXPORTDEFINITION.ID The export definition to use when exporting segments in a marketing effort with phone packages not already associated with an export definition.
INLINEEXCLUSIONEXPORTDEFINITIONID uniqueidentifier yes EXPORTDEFINITION.ID The export definition to use when exporting inline exclusions in a marketing effort.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSEGMENTATIONEXPORTPROCESS_DATEADDED DATEADDED yes
IX_MKTSEGMENTATIONEXPORTPROCESS_DATECHANGED DATECHANGED
IX_MKTSEGMENTATIONEXPORTPROCESS_EMAILEXPORTDEFINITIONID EMAILEXPORTDEFINITIONID
IX_MKTSEGMENTATIONEXPORTPROCESS_INLINEEXCLUSIONEXPORTDEFINITIONID INLINEEXCLUSIONEXPORTDEFINITIONID
IX_MKTSEGMENTATIONEXPORTPROCESS_MAILEXPORTDEFINITIONID MAILEXPORTDEFINITIONID
IX_MKTSEGMENTATIONEXPORTPROCESS_PHONEEXPORTDEFINITIONID PHONEEXPORTDEFINITIONID
PK_MKTSEGMENTATIONEXPORTPROCESS ID yes yes
UIX_MKTSEGMENTATIONEXPORTPROCESS_SEGMENTATIONID SEGMENTATIONID yes

Triggers

Trigger Name Description
TR_MKTSEGMENTATIONEXPORTPROCESS_AUDIT_UPDATE
TR_MKTSEGMENTATIONEXPORTPROCESS_AUDIT_DELETE
TR_MKTSEGMENTATIONEXPORTPROCESS_INSERT

Referenced by

Referenced by Field
MKTSEGMENTATIONEXPORTPROCESSEXPORTFORMAT PARAMETERSETID
MKTSEGMENTATIONEXPORTPROCESSSTATUS PARAMETERSETID