try { sql connect "session1" {cm get "demo_cm_mysql";}; -> "[name]" (sql value "session1" (concat "select name from products where id=1")); # Here your MQL source code to work with [name]; sql disconnect "session1"; } { try {sql disconnect "session1";} {} "[err_sql]"; log trace [err]; } "[err]";