CONSTITUENTMERGEOPERATIONS (4.0SP20)

This table keeps a record of all the merge operations that have been executed by constituent merge processes.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SOURCELOOKUPID

nvarchar(100)

false

''

The lookup id for the constituent that was the source of the merge operation.

TARGETLOOKUPID

nvarchar(100)

false

''

The lookup id for the constituent that was the target of the merge operation.

SOURCEID

uniqueidentifier

false

The system id for the constituent that was the source of the merge operation.

TARGETID

uniqueidentifier

false

The system id for the constituent that was the target of the merge operation.

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_CONSTITUENTMERGEOPERATIONS_DATEADDED

DATEADDED

False

False

True

IX_CONSTITUENTMERGEOPERATIONS_DATECHANGED

DATECHANGED

False

False

False

IX_CONSTITUENTMERGEOPERATIONS_SOURCEID

SOURCEID

False

False

False

PK_CONSTITUENTMERGEOPERATIONS

ID

True

True

False

Triggers
Trigger Name Description

TR_CONSTITUENTMERGEOPERATIONS_AUDIT_UPDATE

TR_CONSTITUENTMERGEOPERATIONS_AUDIT_DELETE