EVENTDONOR (4.0SP22)

This table includes information about constituent who donate in a specific event

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

EVENTID

uniqueidentifier

false

FK to EVENT

CONSTITUENTID

uniqueidentifier

false

FK to CONSTITUENT

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

REGISTRANTID

uniqueidentifier

true

FK to REGISTRANT

TEAMFUNDRAISINGTEAMID

uniqueidentifier

true

FK to TEAMFUNDRAISINGTEAM

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

DONATIONAMOUNT

money

false

0

Donation Amount

Indexes
Index Name Field(s) Unique Primary Clustered

IX_EVENTDONOR_CONSTITUENTID

CONSTITUENTID

False

False

False

IX_EVENTDONOR_DATEADDED

DATEADDED

False

False

True

IX_EVENTDONOR_DATECHANGED

DATECHANGED

False

False

False

IX_EVENTDONOR_EVENTID

EVENTID

False

False

False

IX_EVENTDONOR_REGISTRANTID

REGISTRANTID

False

False

False

PK_EVENTDONOR

ID

True

True

False

Triggers
Trigger Name Description

TR_EVENTDONOR_AUDIT_UPDATE

TR_EVENTDONOR_AUDIT_DELETE