Contains information on staff related to a fundraising purpose.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
STARTDATE |
date |
yes |
|
Start date of this related staff. |
ENDDATE |
date |
yes |
|
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) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
Foreign Keys
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. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_DESIGNATIONLEVELRELATEDSTAFF_CONSTITUENTID |
CONSTITUENTID |
|
|
|
IX_DESIGNATIONLEVELRELATEDSTAFF_DATEADDED |
DATEADDED |
|
|
yes |
IX_DESIGNATIONLEVELRELATEDSTAFF_DATECHANGED |
DATECHANGED |
|
|
|
PK_DESIGNATIONLEVELRELATEDSTAFF |
ID |
yes |
yes |
|
Triggers