CLASSMEETINGTEMPLATE
This table contains information about how class meetings should be created.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| STARTTIME |
UDT_HOURMINUTE |
|
Default = '' |
Meeting start time |
| ENDTIME |
UDT_HOURMINUTE |
|
Default = '' |
Meeting end time |
| LENGTHINPERIODS |
int |
|
Default = 0 |
The number of periods a meeting overlaps |
| 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. |
| CYCLEDAYID |
uniqueidentifier |
yes |
CYCLEDAY.ID
|
The cycle day for which this meeting is defined |
| TIMETABLEDAYPERIODID |
uniqueidentifier |
yes |
TIMETABLEDAYPERIOD.ID
|
The timetable day period for which this meeting is defined |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_CLASSMEETINGTEMPLATE_DATEADDED |
DATEADDED |
|
|
yes |
| IX_CLASSMEETINGTEMPLATE_DATECHANGED |
DATECHANGED |
|
|
|
| PK_CLASSMEETINGTEMPLATE |
ID |
yes |
yes |
|
Triggers