I am now able to generate the calendar. However I am not able to load the event into the calendar. Here is the sql
select 'dbr.calendar', 800;
select 'dbr.calendar.options', 'weekNumbers', 0;
select 'dbr.calendar.report', 'sp_DBR_calendar_data', 1;
select '2023-02-01 17:00:00' as 'datetime_from', '2023-02-01 17:00:00' as 'datetime_to', 'R Chi' as 'description'
union all
select '2023-02-02 14:00:00', '2023-02-02 14:00:00', 'R Chi'
union all
select '2023-02-02 14:00:00', '2023-02-02 14:00:00', 'R SPK'
union all
select '2023-02-01 18:00:00', '2023-02-01 18:00:00', 'R Math'
union all
select '2023-02-01 16:00:00', '2023-02-01 16:00:00', 'R Math'
union all
select '2023-02-01 16:00:00', '2023-02-01 16:00:00', 'R Math'
union all
select '2023-02-01 17:00:00', '2023-02-01 17:00:00', 'R SPK'
union all
select '2023-02-01 17:00:00', '2023-02-01 17:00:00', 'R Math'
union all
select '2023-02-01 15:00:00', '2023-02-01 15:00:00', 'R Math'
union all
select '2023-02-01 11:00:00', '2023-02-01 11:00:00', 'R Math'
union all
select '2023-02-01 14:00:00', '2023-02-01 14:00:00', 'R Math'
union all
select '2023-02-01 16:00:00', '2023-02-01 16:00:00', 'R Eng'
union all
select '2023-02-01 16:00:00', '2023-02-01 16:00:00', 'R Eng'
union all
select '2023-02-01 14:00:00', '2023-02-01 14:00:00', 'R SPK'
union all
select '2023-02-01 10:00:00', '2023-02-01 10:00:00', 'R Math'
union all
select '2023-02-01 17:00:00', '2023-02-01 17:00:00', 'R Math'
union all
select '2023-02-01 16:00:00', '2023-02-01 16:00:00', 'R Math'
union all
select '2023-02-01 18:00:00', '2023-02-01 18:00:00', 'R Math'
union all
select '2023-02-01 14:00:00', '2023-02-01 14:00:00', 'R Eng'
union all
select '2023-02-01 15:00:00', '2023-02-01 15:00:00', 'R Math'
union all
select '2023-02-01 14:00:00', '2023-02-01 14:00:00', 'R Math'
union all
select '2023-02-01 18:00:00', '2023-02-01 18:00:00', 'R Math'
union all
select '2023-02-01 17:00:00', '2023-02-01 17:00:00', 'R Math'
union all
select '2023-02-01 17:00:00', '2023-02-01 17:00:00', 'R Eng'
union all
select '2023-02-01 16:00:00', '2023-02-01 16:00:00', 'R Math'
union all
select '2023-02-02 16:00:00', '2023-02-02 16:00:00', 'R SPK'
union all
select '2023-02-02 15:00:00', '2023-02-02 15:00:00', 'R Math'
union all
select '2023-02-02 16:00:00', '2023-02-02 16:00:00', 'R AW'
union all
select '2023-02-02 16:00:00', '2023-02-02 16:00:00', 'R AW'
union all
select '2023-02-02 15:00:00', '2023-02-02 15:00:00', 'R Math'
union all
select '2023-02-02 17:00:00', '2023-02-02 17:00:00', 'R Math'
union all
select '2023-02-02 17:00:00', '2023-02-02 17:00:00', 'R Math'
union all
select '2023-02-02 17:00:00', '2023-02-02 17:00:00', 'R Math'
union all
select '2023-02-02 11:00:00', '2023-02-02 11:00:00', 'R Chi'
union all
select '2023-02-02 15:00:00', '2023-02-02 15:00:00', 'R Math'
union all
select '2023-02-02 16:00:00', '2023-02-02 16:00:00', 'R Math'
union all
select '2023-02-02 14:00:00', '2023-02-02 14:00:00', 'R SPK'
union all
select '2023-02-02 17:00:00', '2023-02-02 17:00:00', 'R Math'
union all
select '2023-02-02 11:00:00', '2023-02-02 11:00:00', 'R Chi'
union all
select '2023-02-02 15:00:00', '2023-02-02 15:00:00', 'R Math';