MKTSEGMENTSELECTION (4.0SP12)

Stores information pertaining to a segment's selections.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

SEGMENTID

uniqueidentifier

false

The segment the selection belongs to.

SELECTIONID

uniqueidentifier

false

A selection that defines the records for the segment.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_MKTSEGMENTSELECTION_DATEADDED

DATEADDED

False

False

True

IX_MKTSEGMENTSELECTION_DATECHANGED

DATECHANGED

False

False

False

IX_MKTSEGMENTSELECTION_SELECTIONID

SELECTIONID

False

False

False

PK_MKTSEGMENTSELECTION

ID

True

True

False

UIX_MKTSEGMENTSELECTION_SEGMENTID_SELECTIONID

SEGMENTID

SELECTIONID

True

False

False

Triggers
Trigger Name Description

TR_MKTSEGMENTSELECTION_AUDIT_UPDATE

TR_MKTSEGMENTSELECTION_AUDIT_DELETE