MKTSEGMENTATIONSEGMENTREFRESHPROCESS

Stores information pertaining to a marketing effort segment refresh 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 name of the marketing effort whose segment counts will be calculated.
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 ID of the marketing effort whose segments are being refreshed.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTSEGMENTATIONSEGMENTREFRESHPROCESS_DATEADDED DATEADDED yes
IX_MKTSEGMENTATIONSEGMENTREFRESHPROCESS_DATECHANGED DATECHANGED
PK_MKTSEGMENTATIONSEGMENTREFRESHPROCESS ID yes yes
UIX_MKTSEGMENTATIONSEGMENTREFRESHPROCESS_SEGMENTATIONID SEGMENTATIONID yes

Triggers

Trigger Name Description
TR_MKTSEGMENTATIONSEGMENTREFRESHPROCESS_AUDIT_UPDATE
TR_MKTSEGMENTATIONSEGMENTREFRESHPROCESS_AUDIT_DELETE

Referenced by

Referenced by Field
MKTSEGMENTATIONSEGMENTREFRESHPROCESSSTATUS PARAMETERSETID