You are not logged in.
Pages: 1
Is there a way to specify that a specific sql statement should not be executed prepared? In Mysql, some statements should not be prepared and causes Mysql to return:
This command is not supported in the prepared statement protocol yet (1295)
In these limited instances, it would be useful to be able to directly execute the statement without preparing
Offline
Direct SQL
mormot.db.sql, mormot.db.sql.odbc and for another project mormot.db.rad.firedac
Offline
Which statements are you referring to?
You have low-level access to ExecDirect() and ExecDirectW() in TOdbcLib perhaps you could use that.
It may be possible to add some new methods to TSqlDBOdbcStatement, like ExecuteDirect().
But it is not directly supported yet.
Online
Pages: 1