MKTSEGMENTATIONEXPORTPROCESS2

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
NAME nvarchar(100) (Computed) yes dbo.[UFN_MKTSEGMENTATION_GETNAME]([SEGMENTATIONID]) The marketing effort name to be used as the parameter set name.
DESCRIPTION nvarchar(255) Default = '' A description of the export.
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
SEGMENTATIONID uniqueidentifier MKTSEGMENTATION.ID The marketing effort the export process will use.
MAILEXPORTDEFINITIONID uniqueidentifier yes EXPORTDEFINITION.ID The export definition to use when exporting segments in an activated 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 an activated 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 an activated marketing effort with phone packages not already associated with an export definition.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSEGMENTATIONEXPORTPROCESS2_DATEADDED DATEADDED yes
IX_MKTSEGMENTATIONEXPORTPROCESS2_DATECHANGED DATECHANGED
PK_MKTSEGMENTATIONEXPORTPROCESS2 ID yes yes
UIX_MKTSEGMENTATIONEXPORTPROCESS2_SEGMENTATIONID SEGMENTATIONID yes

Triggers

Trigger Name Description
TR_MKTSEGMENTATIONEXPORTPROCESS2_INSERT
TR_MKTSEGMENTATIONEXPORTPROCESS2_AUDIT_UPDATE
TR_MKTSEGMENTATIONEXPORTPROCESS2_AUDIT_DELETE

Referenced by

Referenced by Field
MKTSEGMENTATIONEXPORTPROCESS2EXPORTFORMAT PARAMETERSETID
MKTSEGMENTATIONEXPORTPROCESS2STATUS PARAMETERSETID