CONSTITUENTSOURCEANALYSISCACHECOMMUNITYMEMBER

Enables the caching of the Blackbaud Internet Solutions Member constituency for source analysis.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
NEEDSUPDATE bit Default = 0
DATEFROM datetime
DATETO datetime yes
VALUE bit Default = 0
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
CONSTITUENTID uniqueidentifier CONSTITUENT.LOCALID FK to CONSTITUENT
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_CONSTITUENTSOURCEANALYSISCACHECOMMUNITYMEMBER_CONSTITUENTID CONSTITUENTID
IX_CONSTITUENTSOURCEANALYSISCACHECOMMUNITYMEMBER_DATEADDED DATEADDED yes
IX_CONSTITUENTSOURCEANALYSISCACHECOMMUNITYMEMBER_DATECHANGED DATECHANGED
PK_CONSTITUENTSOURCEANALYSISCACHECOMMUNITYMEMBER ID yes yes

Triggers

Trigger Name Description
TR_CONSTITUENTSOURCEANALYSISCACHECOMMUNITYMEMBER_AUDIT_UPDATE
TR_CONSTITUENTSOURCEANALYSISCACHECOMMUNITYMEMBER_AUDIT_DELETE