CLASSMEETING

This table contains information about the class meetings.

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
CLASSMEETINGGROUPID uniqueidentifier CLASSMEETINGGROUP.ID A foreign key to the class meeting group table.
EDUCATIONMEETINGID uniqueidentifier EDUCATIONMEETING.ID A foreign key to the education meeting table.
ADDEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.
CHANGEDBYID uniqueidentifier CHANGEAGENT.ID FK to CHANGEAGENT.

Indexes

Index Name Fields Unique Primary Clustered
IX_CLASSMEETING_DATEADDED DATEADDED yes
IX_CLASSMEETING_DATECHANGED DATECHANGED
PK_CLASSMEETING ID yes yes
UIX_CLASSMEETING_CLASSMEETINGGROUPID_EDUCATIONMEETINGID CLASSMEETINGGROUPID, EDUCATIONMEETINGID yes

Triggers

Trigger Name Description
TR_CLASSMEETING_EDUCATIONMEETING_DELETE
TR_CLASSMEETING_AUDIT_UPDATE
TR_CLASSMEETING_AUDIT_DELETE