MKTSPONSORSHIPMAILINGPROCESS

Contains information pertaining to the sponsorship effort business process.

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.
NAME nvarchar(50) (Computed) yes dbo.[UFN_MKTSPONSORSHIPMAILINGTEMPLATE_GETNAME]([SPONSORSHIPMAILINGTEMPLATEID]) The name of the template the effort process will act on.

Foreign Keys

Foreign Key Field Type Null Notes Description
SPONSORSHIPMAILINGTEMPLATEID uniqueidentifier MKTSPONSORSHIPMAILINGTEMPLATE.ID The sponsorship effort template to be used by the business process.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSPONSORSHIPMAILINGPROCESS_DATEADDED DATEADDED yes
IX_MKTSPONSORSHIPMAILINGPROCESS_DATECHANGED DATECHANGED
PK_MKTSPONSORSHIPMAILINGPROCESS ID yes yes
UIX_MKTSPONSORSHIPMAILINGPROCESS_SPONSORSHIPMAILINGTEMPLATEID SPONSORSHIPMAILINGTEMPLATEID yes

Triggers

Trigger Name Description
TR_MKTSPONSORSHIPMAILINGPROCESS_AUDIT_UPDATE
TR_MKTSPONSORSHIPMAILINGPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
MKTSPONSORSHIPMAILINGPROCESSSTATUS PARAMETERSETID