PLANNEDGIFTSITE (4.0SP20)

Contains information pertaining to a planned gift's sites.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

PLANNEDGIFTID

uniqueidentifier

false

FK to PLANNEDGIFT

SITEID

uniqueidentifier

false

FK to SITE

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_PLANNEDGIFTSITE_DATEADDED

DATEADDED

False

False

True

IX_PLANNEDGIFTSITE_DATECHANGED

DATECHANGED

False

False

False

IX_PLANNEDGIFTSITE_SITEID

SITEID

False

False

False

PK_PLANNEDGIFTSITE

ID

True

True

False

UIX_PLANNEDGIFTSITE_PLANNEDGIFTID_SITEID

PLANNEDGIFTID

SITEID

True

False

False

Triggers
Trigger Name Description

TR_PLANNEDGIFTSITE_AUDIT_UPDATE

TR_PLANNEDGIFTSITE_AUDIT_DELETE