Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 STARTDATE date Start date of this related staff.
 ENDDATE date Start date of this related staff.
 COMMENTS nvarchar(max)   Default = '' Comments on this related staff.
 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) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 DESIGNATIONLEVELID uniqueidentifier   DESIGNATIONLEVEL.ID ID of the fundraising purpose the staff is related to.
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID Constituent record ID of this related staff.
 ROLECODEID uniqueidentifier   RELATEDSTAFFROLECODE.ID Role code for this related staff.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_DESIGNATIONLEVELRELATEDSTAFF_CONSTITUENTID CONSTITUENTID      
 IX_DESIGNATIONLEVELRELATEDSTAFF_DATEADDED DATEADDED    
 IX_DESIGNATIONLEVELRELATEDSTAFF_DATECHANGED DATECHANGED      
 PK_DESIGNATIONLEVELRELATEDSTAFF ID  

Trigger Name Description
 TR_DESIGNATIONLEVELRELATEDSTAFF_AUDIT_UPDATE
 TR_DESIGNATIONLEVELRELATEDSTAFF_AUDIT_DELETE

Entity-Relationship diagram of this table