TAIMPORTIDMAP

This table contains the TA Import IDs from the TA import process.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
CUSTOMIDENTIFIER nvarchar(100) Default = '' User-definable custom identifier.
SEQUENCEID int Identity column used to increment the default lookupid.
LOOKUPID nvarchar(100) (Computed) yes Unique identifier that supports user defined values as well as system generated values.
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
ID uniqueidentifier CONSTITUENT.LOCALID Primary Key.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_TAIMPORTIDMAP_DATEADDED DATEADDED yes
IX_TAIMPORTIDMAP_DATECHANGED DATECHANGED
PK_TAIMPORTIDMAP ID yes yes
UC_TAIMPORTIDMAP_LOOKUPID LOOKUPID yes

Triggers

Trigger Name Description
TR_TAIMPORTIDMAP_AUDIT_UPDATE
TR_TAIMPORTIDMAP_AUDIT_DELETE