MKTMEMBERSHIPMAILINGTEMPLATEEXPORT

Stores export information pertaining to a membership template.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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
MEMBERSHIPMAILINGTEMPLATEID uniqueidentifier MKTMEMBERSHIPMAILINGTEMPLATE.ID The template this export information belongs to.
MAILEXPORTDEFINITIONID uniqueidentifier yes EXPORTDEFINITION.ID The export definition to use when exporting segments in an activated membership renewal 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 membership renewal effort with email packages not already associated with an export definition.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
PHONEEXPORTDEFINITIONID uniqueidentifier yes EXPORTDEFINITION.ID The export definition to use when exporting segments in an activated membership renewal effort with phone packages not already associated with an export definition.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_DATEADDED DATEADDED yes
IX_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_DATECHANGED DATECHANGED
IX_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_EMAILEXPORTDEFINITIONID EMAILEXPORTDEFINITIONID
IX_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_MAILEXPORTDEFINITIONID MAILEXPORTDEFINITIONID
IX_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_MEMBERSHIPMAILINGTEMPLATEID MEMBERSHIPMAILINGTEMPLATEID
IX_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_PHONEEXPORTDEFINITIONID PHONEEXPORTDEFINITIONID
PK_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT ID yes yes

Triggers

Trigger Name Description
TR_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_AUDIT_UPDATE
TR_MKTMEMBERSHIPMAILINGTEMPLATEEXPORT_AUDIT_DELETE