DESIGNATIONLEVELRELATEDSTAFF (4.0SP17)

Contains information on staff related to a fundraising purpose.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

DESIGNATIONLEVELID

uniqueidentifier

false

ID of the fundraising purpose the staff is related to.

CONSTITUENTID

uniqueidentifier

false

Constituent record ID of this related staff.

ROLECODEID

uniqueidentifier

false

Role code for this related staff.

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

STARTDATE

date

true

Start date of this related staff.

ENDDATE

date

true

Start date of this related staff.

COMMENTS

nvarchar(max)

false

''

Comments on this related staff.

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.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_DESIGNATIONLEVELRELATEDSTAFF_CONSTITUENTID

CONSTITUENTID

False

False

False

IX_DESIGNATIONLEVELRELATEDSTAFF_DATEADDED

DATEADDED

False

False

True

IX_DESIGNATIONLEVELRELATEDSTAFF_DATECHANGED

DATECHANGED

False

False

False

PK_DESIGNATIONLEVELRELATEDSTAFF

ID

True

True

False

Triggers
Trigger Name Description

TR_DESIGNATIONLEVELRELATEDSTAFF_AUDIT_UPDATE

TR_DESIGNATIONLEVELRELATEDSTAFF_AUDIT_DELETE