MKTSEGMENTATIONEXCLUSION

Stores information pertaining to a remove member process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
FILENAME nvarchar(250) Default = '' The name of the file used to remove members.
SELECTIONNAME nvarchar(250) Default = '' The name for the selection of members to be removed.
ORIGINALQUANTITY int Default = 0 Original quantity
DELETEDQUANTITY int Default = 0 Quantity deleted
EXCEPTIONQUANTITY int Default = 0 Quantity of exceptions
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 remove members process will use.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
STATUSID uniqueidentifier yes MKTUPDATEMAILINGCOUNTSPROCESSSTATUS.ID The remove members process status ID

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSEGMENTATIONEXCLUSION_DATEADDED DATEADDED yes
IX_MKTSEGMENTATIONEXCLUSION_DATECHANGED DATECHANGED
IX_MKTSEGMENTATIONEXCLUSION_SEGMENTATIONID_STATUSID SEGMENTATIONID, STATUSID
IX_MKTSEGMENTATIONEXCLUSION_STATUSID STATUSID
PK_MKTSEGMENTATIONEXCLUSION ID yes yes

Triggers

Trigger Name Description
TR_MKTSEGMENTATIONEXCLUSION_AUDIT_UPDATE
TR_MKTSEGMENTATIONEXCLUSION_AUDIT_DELETE

Referenced by

Referenced by Field
MKTSEGMENTATIONEXCLUSIONSELECTION SEGMENTATIONEXCLUSIONID