MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION

Contains information pertaining to the effort created for each sponsorship effort business process status.

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.

Foreign Keys

Foreign Key Field Type Null Notes Description
SPONSORSHIPMAILINGPROCESSSTATUSID uniqueidentifier MKTSPONSORSHIPMAILINGPROCESSSTATUS.ID The sponsorship effort process status key.
SEGMENTATIONID uniqueidentifier yes MKTSEGMENTATION.ID The effort generated by the sponsorship effort process.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION_DATEADDED DATEADDED yes
IX_MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION_DATECHANGED DATECHANGED
IX_MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION_SEGMENTATIONID SEGMENTATIONID
PK_MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION ID yes yes
UIX_MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION_SPONSORSHIPMAILINGPROCESSSTATUSID_SEGMENTATIONID SPONSORSHIPMAILINGPROCESSSTATUSID, SEGMENTATIONID yes

Triggers

Trigger Name Description
TR_MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION_AUDIT_UPDATE
TR_MKTSPONSORSHIPMAILINGPROCESSSEGMENTATION_AUDIT_DELETE