CONSTITUENTSITE (4.0SP12)

Contains information pertaining to a constituent's sites.

Primary Key
Primary Key Field Type

ID

uniqueidentifier

Foreign Key Fields
Foreign Key Field Type Null Notes Description

CONSTITUENTID

uniqueidentifier

false

FK to CONSTITUENT

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_CONSTITUENTSITE_DATEADDED

DATEADDED

False

False

True

IX_CONSTITUENTSITE_DATECHANGED

DATECHANGED

False

False

False

IX_CONSTITUENTSITE_SITEID

SITEID

False

False

False

PK_CONSTITUENTSITE

ID

True

True

False

UIX_CONSTITUENTSITE_CONSTITUENTID_SITEID

CONSTITUENTID

SITEID

True

False

False

Triggers
Trigger Name Description

TR_CONSTITUENTSITE_AUDIT_UPDATE

TR_CONSTITUENTSITE_AUDIT_DELETE

TR_CONSTITUENTSITE_AUDIT_ETLDELETEDID

TR_CONSTITUENTSITE_TASYNC_I

TR_CONSTITUENTSITE_TASYNC_U

TR_CONSTITUENTSITE_TASYNC_D