PLANNEDGIFTRELATIONSHIP (3.0)

Table of relationships for each planned gift.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PLANNEDGIFTID

uniqueidentifier

false

FK to PLANNEDGIFT

RELATIONSHIPID

uniqueidentifier

false

FK to RELATIONSHIP

ADDEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

CHANGEDBYID

uniqueidentifier

false

FK to CHANGEAGENT.

Fields
Field Field Type Null Notes Description

SEQUENCE

int

false

0

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_PLANNEDGIFTRELATIONSHIP_DATEADDED

DATEADDED

False

False

True

IX_PLANNEDGIFTRELATIONSHIP_DATECHANGED

DATECHANGED

False

False

False

PK_PLANNEDGIFTRELATIONSHIP

ID

True

True

False

UIX_PLANNEDGIFTRELATIONSHIP_PLANNEDGIFTID_RELATIONSHIPID

PLANNEDGIFTID

RELATIONSHIPID

True

False

False

Triggers
Trigger Name Description

TR_PLANNEDGIFTRELATIONSHIP_AUDIT_UPDATE

TR_PLANNEDGIFTRELATIONSHIP_AUDIT_DELETE