GRANTOR (4.0SP17)

Contains the date ranges for which a constituent is a grantor.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

GRANTORTYPECODEID

uniqueidentifier

false

FK to GRANTORTYPECODE

CONTACTID

uniqueidentifier

true

FK to RELATIONSHIP

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

DATEADDED

datetime

false

getdate()

Indicates the date this record was added.

DATECHANGED

datetime

false

getdate()

Indicates the date this record was last changed.

TS

timestamp

false

Timestamp.

TSLONG

bigint (Computed)

true

Numeric representation of the timestamp.

Indexes
Index Name Field(s) Unique Primary Clustered

IX_GRANTOR_CONTACTID

CONTACTID

False

False

False

IX_GRANTOR_DATEADDED

DATEADDED

False

False

True

IX_GRANTOR_DATECHANGED

DATECHANGED

False

False

False

IX_GRANTOR_GRANTORTYPECODEID

GRANTORTYPECODEID

False

False

False

PK_GRANTOR

ID

True

True

False

Triggers
Trigger Name Description

TR_GRANTOR_AUDIT_UPDATE

TR_GRANTOR_AUDIT_DELETE

TR_GRANTOR_MARKASCONSTITUENT

Referenced by
Referenced by Field

GRANTS

GRANTORID