STUDENTCLASSMEETINGGROUP
                                        This table contains information about the class meetings associated to a student.  
                                        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. | 
                                                
                                                    | STATUSCODE | tinyint |  | Default = 0 | The enrollment status of a student for a class meeting group. | 
                                                
                                                    | STATUSDATE | date | yes |  | The date the status was set to not enrolled. For example, Withdrawn Date, Transferred Date, or Dropped Date. | 
                                                
                                                    | STATUS | nvarchar(15) (Computed) | yes | 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 Keys
                                        
                                            
                                                
                                                    | 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. | 
                                            
                                        
                                        Indexes
                                        
                                            
                                                
                                                    | Index Name | Fields | Unique | Primary | Clustered | 
                                            
                                            
                                                
                                                    | IX_STUDENTCLASSMEETINGGROUP_DATEADDED | DATEADDED |  |  | yes | 
                                                
                                                    | IX_STUDENTCLASSMEETINGGROUP_DATECHANGED | DATECHANGED |  |  |  | 
                                                
                                                    | PK_STUDENTCLASSMEETINGGROUP | ID | yes | yes |  | 
                                                
                                                    | UIX_STUDENTCLASSMEETINGGROUP_STUDENTCOURSEID_CLASSMEETINGGROUPID | STUDENTCOURSEID, CLASSMEETINGGROUPID | yes |  |  | 
                                            
                                        
                                        Triggers
                                        
                                        Referenced by