INTERACTIONRESPONSE

Associates interactions with interaction responses.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
DATE datetime yes
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
INTERACTIONID uniqueidentifier INTERACTION.ID The interaction record to which this response belongs.
RESPONSEID uniqueidentifier RESPONSE.ID FK to RESPONSE
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_INTERACTIONRESPONSE_DATEADDED DATEADDED yes
IX_INTERACTIONRESPONSE_DATECHANGED DATECHANGED
IX_INTERACTIONRESPONSE_INTERACTIONID INTERACTIONID
IX_INTERACTIONRESPONSE_RESPONSEID RESPONSEID
PK_INTERACTIONRESPONSE ID yes yes

Triggers

Trigger Name Description
TR_INTERACTIONRESPONSE_T2BDELETE
TR_INTERACTIONRESPONSE_AUDIT_UPDATE
TR_INTERACTIONRESPONSE_AUDIT_DELETE
TR_INTERACTIONRESPONSE_T2BINSERTUPDATE
TR_INTERACTIONRESPONSE_AUDIT_ETLDELETEDID