SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES

Settings table for sponsorship opportunity search default images

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
SITEIMAGEID int Default = 0 Id of the site image used as the masking image
QUERYVIEWID uniqueidentifier yes Id of the query view for search
QUERYID uniqueidentifier yes 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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGSID uniqueidentifier yes SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGS.ID Id of the record in SponsorshipOpportunitySearchCMSSettings table

Indexes

Index Name Fields Unique Primary Clustered
IX_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_DATEADDED DATEADDED yes
IX_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_DATECHANGED DATECHANGED
PK_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES ID yes yes
UIX_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGSID SPONSORSHIPOPPORTUNITYSEARCHCMSSETTINGSID yes

Triggers

Trigger Name Description
TR_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_AUDIT_UPDATE
TR_SPONSORSHIPOPPORTUNITYSEARCHCMSMASKINGIMAGES_AUDIT_DELETE