Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 SITEIMAGEID int   Default = 0 Id of the site image used as the masking image
 QUERYVIEWID uniqueidentifier Id of the query view for search
 QUERYID uniqueidentifier Id of the query for search
 IMAGERANK int   Default = 0 Decides which image takes priority for an opportunity
 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
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGSID uniqueidentifier SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGS.ID Id of the record in SponsorshipOpportunitySearchCMSSettings table

Index Name Field(s) Unique Primary Clustered
 IX_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_DATEADDED DATEADDED    
 IX_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_DATECHANGED DATECHANGED      
 PK_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES ID  
 UIX_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGSID SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGSID    

Trigger Name Description
 TR_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_AUDIT_UPDATE
 TR_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_AUDIT_DELETE

Entity-Relationship diagram of this table