| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| Field | Field Type | Null | Notes | Description |
|---|---|---|---|---|
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 |
|---|---|---|---|---|
ID |
uniqueidentifier | CONSTITUENT.LOCALID | Primary Key. | |
GRANTORTYPECODEID |
uniqueidentifier | GRANTORTYPECODE.ID | FK to GRANTORTYPECODE | |
CONTACTID |
uniqueidentifier | ![]() |
RELATIONSHIP.ID | FK to RELATIONSHIP |
ADDEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. | |
CHANGEDBYID |
uniqueidentifier | CHANGEAGENT.ID | FK to CHANGEAGENT. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_GRANTOR_CONTACTID |
CONTACTID | |||
IX_GRANTOR_DATEADDED |
DATEADDED | ![]() |
||
IX_GRANTOR_DATECHANGED |
DATECHANGED | |||
IX_GRANTOR_GRANTORTYPECODEID |
GRANTORTYPECODEID | |||
PK_GRANTOR |
ID | ![]() |
![]() |
| Trigger Name | Description |
|---|---|
TR_GRANTOR_AUDIT_UPDATE |
|
TR_GRANTOR_AUDIT_DELETE |
|
TR_GRANTOR_MARKASCONSTITUENT |
| Referenced by | Field |
|---|---|
GRANTS |
GRANTORID |

ID
DATEADDED
TSLONG
ID
IX_GRANTOR_CONTACTID
IX_GRANTOR_DATEADDED