Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NOTE nvarchar(255)   Default = '' Any additional notes for this interest.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 CONSTITUENTINTERESTCODEID uniqueidentifier   CONSTITUENTINTERESTCODE.ID Indicates the user-defined type for this interest.
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID The constituent record to which this interest belongs.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_CONSTITUENTINTEREST_CONSTITUENTID CONSTITUENTID      
 IX_CONSTITUENTINTEREST_DATEADDED DATEADDED    
 IX_CONSTITUENTINTEREST_DATECHANGED DATECHANGED      
 PK_CONSTITUENTINTEREST ID  

Trigger Name Description
 TR_CONSTITUENTINTEREST_AUDIT_ETLDELETEDID
 TR_CONSTITUENTINTEREST_AUDIT_UPDATE
 TR_CONSTITUENTINTEREST_AUDIT_DELETE
 TR_CONSTITUENTINTEREST_TASYNC_I
 TR_CONSTITUENTINTEREST_TASYNC_U
 TR_CONSTITUENTINTEREST_TASYNC_D

Entity-Relationship diagram of this table