DUPLICATECONSTITUENTSEARCHRESULTSTABLE

Contains the names of all the tables in the database that contain duplicate constituent search results.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
TABLENAME nvarchar(200) Default = '' The name of the table that contains duplicate constituent search results
FRIENDLYNAME nvarchar(290) Default = '' The human-readable name that is used for display purposes.
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
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_DUPLICATECONSTITUENTSEARCHRESULTSTABLE_DATEADDED DATEADDED yes
IX_DUPLICATECONSTITUENTSEARCHRESULTSTABLE_DATECHANGED DATECHANGED
PK_DUPLICATECONSTITUENTSEARCHRESULTSTABLE ID yes yes
UC_DUPLICATECONSTITUENTSEARCHRESULTSTABLE_TABLENAME TABLENAME yes

Triggers

Trigger Name Description
TR_DUPLICATECONSTITUENTSEARCHRESULTSTABLE_AUDIT_UPDATE
TR_DUPLICATECONSTITUENTSEARCHRESULTSTABLE_AUDIT_DELETE

Referenced by

Referenced by Field
CONSTITUENTMERGEPROCESS SOURCETABLEID