STEWARDSHIPEXCHANGECALENDARITEM

Contains a list of stewardship steps added as calendar items to the Exchange server.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Keys

Foreign Key Field Type Null Notes Description
STEPID uniqueidentifier STEWARDSHIPPLANSTEP.ID FK to STEWARDSHIPPLANSTEP
APPUSERID uniqueidentifier APPUSER.ID FK to APPUSER
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_STEWARDSHIPEXCHANGECALENDARITEM_DATEADDED DATEADDED yes
IX_STEWARDSHIPEXCHANGECALENDARITEM_DATECHANGED DATECHANGED
PK_STEWARDSHIPEXCHANGECALENDARITEM ID yes yes
UC_STEWARDSHIPEXCHANGECALENDARITEM_STEPID STEPID yes
UIX_STEWARDSHIPEXCHANGECALENDARITEM_STEPID_APPUSERID STEPID, APPUSERID yes

Triggers

Trigger Name Description
TR_STEWARDSHIPEXCHANGECALENDARITEM_AUDIT_UPDATE
TR_STEWARDSHIPEXCHANGECALENDARITEM_AUDIT_DELETE