TEAMFUNDRAISINGTEAMMEMBER

Stores information pertaining to team fundraisers as they appear in a team fundraising hierarchy.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

Field Field Type Null Notes Description
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
TEAMFUNDRAISINGTEAMID uniqueidentifier yes TEAMFUNDRAISINGTEAM.ID FK to TEAMFUNDRAISINGTEAM
TEAMFUNDRAISERID uniqueidentifier TEAMFUNDRAISER.ID FK to TEAMFUNDRAISER
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_TEAMFUNDRAISINGTEAMMEMBER_DATEADDED DATEADDED yes
IX_TEAMFUNDRAISINGTEAMMEMBER_DATECHANGED DATECHANGED
IX_TEAMFUNDRAISINGTEAMMEMBER_TEAMFUNDRAISERID TEAMFUNDRAISERID
PK_TEAMFUNDRAISINGTEAMMEMBER ID yes yes
UIX_TEAMFUNDRAISINGTEAMMEMBER_TEAMFUNDRAISINGTEAMID_TEAMFUNDRAISERID TEAMFUNDRAISINGTEAMID, TEAMFUNDRAISERID yes

Triggers

Trigger Name Description
TR_TEAMFUNDRAISINGTEAMMEMBER_AUDIT_UPDATE
TR_TEAMFUNDRAISINGTEAMMEMBER_AUDIT_DELETE
TR_TEAMFUNDRAISINGTEAMMEMBER_AUDIT_ETLDELETEDID

Referenced by

Referenced by Field
NETCOMMUNITYWEBTRAFFIC TEAMFUNDRAISINGTEAMMEMBERID