Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 INTERESTLEVELCODE tinyint   Default = 2 4=Extremely positive, 3=Somewhat positive, 2=Neutral, 1=Somewhat negative, 0=Extremely negative
 INTERESTLEVEL nvarchar(18) (Computed) CASE [INTERESTLEVELCODE] WHEN 4 THEN N'Extremely positive' WHEN 3 THEN N'Somewhat positive' WHEN 2 THEN N'Neutral' WHEN 1 THEN N'Somewhat negative' WHEN 0 THEN N'Extremely negative' END Provides a translation for the 'INTERESTLEVELCODE' field.
 COMMENT nvarchar(max)   Default = ''
 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
 PROSPECTID uniqueidentifier   PROSPECT.LOCALID A foreign key to the prospect table
 FUNDINGTYPECODEID uniqueidentifier   FUNDINGTYPECODE.ID FK to FUNDINGTYPECODE
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_PROSPECTFUNDINGINTEREST_DATEADDED DATEADDED    
 IX_PROSPECTFUNDINGINTEREST_DATECHANGED DATECHANGED      
 PK_PROSPECTFUNDINGINTEREST ID  
 UIX_PROSPECTFUNDINGINTEREST_PROSPECTID_FUNDINGTYPECODEID PROSPECTID, FUNDINGTYPECODEID    

Trigger Name Description
 TR_PROSPECTFUNDINGINTEREST_AUDIT_ETLDELETEDID
 TR_PROSPECTFUNDINGINTEREST_AUDIT_UPDATE
 TR_PROSPECTFUNDINGINTEREST_AUDIT_DELETE

Referenced by Field
 OPPORTUNITYFUNDINGTYPE PROSPECTFUNDINGINTERESTID
 PLANNEDGIFTFUNDINGTYPE PROSPECTFUNDINGINTERESTID
 PROSPECTFUNDINGINTERESTSITE PROSPECTFUNDINGINTERESTID

Entity-Relationship diagram of this table