| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
DONOTTERMINATE |
bit | Default = 0 | Prevent this sponsor from being terminated. | |
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. |
UNIQUEOPPORTUNITIESFORGIFTDONOR |
bit | Default = 0 | Ensure unique sponsorship opportunities across all the gift sponsorships being paid for by this sponsor. |
| Foreign Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
ID |
uniqueidentifier | CONSTITUENT.LOCALID | Primary Key. | |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_SPONSOR_DATEADDED |
DATEADDED | ![]() |
||
IX_SPONSOR_DATECHANGED |
DATECHANGED | |||
PK_SPONSOR |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_SPONSOR_AUDIT_UPDATE |
|
TR_SPONSOR_AUDIT_DELETE |
|
TR_SPONSOR_MARKASCONSTITUENT |

ID
DONOTTERMINATE
TSLONG
ID
IX_SPONSOR_DATEADDED
IX_SPONSOR_DATECHANGED