General error 42000 (102)--[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Incorrect syntax near 'by'. Connection handle = 0, Statement handle = 432, Source = MSSQLDRV.ESQL.SQLExecDirect
MSG_MAINERRORREPORT (4718) - oErrorHandler (4) - at address 6423
MSG_ERROR_REPORT (433) - oErrorHandler (4) - at address 6450
MSG_SQLEXECDIRECT (5032) - oObject (432) - at address 9033
GET_SELECTTOMULTIARRAY (7566) - SomeStaticEsqlObject (59) - at address 35212
GET_COURSEDETAILBYLEVEL (7604) - oCoursesOverview (163) - at address 36848
GET_TOTALCOURSESBYLEVEL (7603) - oCoursesOverview (163) - at address 36826
GET_DOCALL (1284) - oCallInterface (164) - in native code
GET_DOCALL (1284) - oCoursesOverview (163) - at address 13579
MSG_ONDFFUNC (5253) - oVDFInetSession (25) - at address 12148
MSG_STARTWEBAPP (6061) - oWebApp (24) - at address 19595
[start] - at address 38224
General error HY010 (0)--[Microsoft][ODBC Driver Manager] Function sequence error Connection handle = 0, Statement handle = 432, Source = MSSQLDRV.ESQL.SQLFetch
MSG_MAINERRORREPORT (4718) - oErrorHandler (4) - at address 6423
MSG_ERROR_REPORT (433) - oErrorHandler (4) - at address 6450
GET_SQLFETCHRESULTSETVALUES (5035) - oObject (432) - at address 9175
GET_SELECTTOMULTIARRAY (7566) - SomeStaticEsqlObject (59) - at address 35214
GET_COURSEDETAILBYLEVEL (7604) - oCoursesOverview (163) - at address 36848
GET_TOTALCOURSESBYLEVEL (7603) - oCoursesOverview (163) - at address 36826
GET_DOCALL (1284) - oCallInterface (164) - in native code
GET_DOCALL (1284) - oCoursesOverview (163) - at address 13579
MSG_ONDFFUNC (5253) - oVDFInetSession (25) - at address 12148
MSG_STARTWEBAPP (6061) - oWebApp (24) - at address 19595
[start] - at address 38224