MKTDUPLICATEFIELD

Contains the information used to identify duplicate records.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
FIELDNAME nvarchar(100) Default = '' Stores a field name used to identify duplicate records.
FIELDLENGTH smallint Default = ((20)) Identifies the number of characters from the beginning of the field that will be used as exact match criteria when identifying duplicate records.
SEQUENCE int Default = 0 Determines relative position of the field in the overall list of fields.
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
DUPLICATEID uniqueidentifier MKTDUPLICATE.ID The duplicate criteria that contains these fields.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_MKTDUPLICATEFIELD_DATEADDED DATEADDED yes
IX_MKTDUPLICATEFIELD_DATECHANGED DATECHANGED
IX_MKTDUPLICATEFIELD_DUPLICATEID DUPLICATEID
PK_MKTDUPLICATEFIELD ID yes yes

Triggers

Trigger Name Description
TR_MKTDUPLICATEFIELD_AUDIT_UPDATE
TR_MKTDUPLICATEFIELD_AUDIT_DELETE