SQL scripts to export events from CMIS timetabling software