Primary Key Field Type
 ID uniqueidentifier

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) CONVERT(bigint, TS) Numeric representation of the timestamp.
 STATUSCODE tinyint   Default = 0 The enrollment status of a student for a class meeting group.
 STATUSDATE date The date the status was set to not enrolled. For example, Withdrawn Date, Transferred Date, or Dropped Date.
 STATUS nvarchar(15) (Computed) CASE [STATUSCODE] WHEN 0 THEN N'Enrolled' WHEN 1 THEN N'Dropped' WHEN 2 THEN N'Withdrawn' WHEN 3 THEN N'Transferred out' END Provides a translation for the 'STATUSCODE' field.

Foreign Key Field Type Null Notes Description
 STUDENTCOURSEID uniqueidentifier   STUDENTCOURSE.ID A foreign key to the student-course table.
 CLASSMEETINGGROUPID uniqueidentifier   CLASSMEETINGGROUP.ID A foreign key to the class meeting group table.
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_STUDENTCLASSMEETINGGROUP_DATEADDED DATEADDED    
 IX_STUDENTCLASSMEETINGGROUP_DATECHANGED DATECHANGED      
 PK_STUDENTCLASSMEETINGGROUP ID  
 UIX_STUDENTCLASSMEETINGGROUP_STUDENTCOURSEID_CLASSMEETINGGROUPID STUDENTCOURSEID, CLASSMEETINGGROUPID    

Trigger Name Description
 TR_STUDENTCLASSMEETINGGROUP_AUDIT_UPDATE
 TR_STUDENTCLASSMEETINGGROUP_AUDIT_DELETE
 TR_STUDENTCLASSMEETINGGROUP_VALIDATE_ENROLLMENT
 TR_STUDENTCLASSMEETINGGROUP_STUDENTCOURSE_DELETE

Referenced by Field
 STUDENTMARKINGCOLUMNGRADE STUDENTCLASSMEETINGGROUPID

Entity-Relationship diagram of this table