This table contains donor information belonging to a Fundraising Purpose.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
ISBENEFACTOR |
bit |
|
Default = 0 |
Specifies whether this constituent is a benefactor for the purpose. |
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 |
CONSTITUENTID |
uniqueidentifier |
yes |
CONSTITUENT.LOCALID
|
The constituent donor associated with the purpose. |
DESIGNATIONLEVELID |
uniqueidentifier |
yes |
DESIGNATIONLEVEL.ID
|
The fundraising purpose. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_DESIGNATIONLEVELDONORINFORMATION_DATEADDED |
DATEADDED |
|
|
yes |
IX_DESIGNATIONLEVELDONORINFORMATION_DATECHANGED |
DATECHANGED |
|
|
|
PK_DESIGNATIONLEVELDONORINFORMATION |
ID |
yes |
yes |
|
UIX_DESIGNATIONLEVELDONORINFORMATION_CONSTITUENTID_DESIGNATIONLEVELID |
CONSTITUENTID, DESIGNATIONLEVELID |
yes |
|
|
Triggers