Re: Does unixODBC Allocate "Prepared Statements" for Queries
As Nick said, it's a decision made by the application. For jsql,
it might be easier to just prepare a query each time to eliminate
additional ifs in their code. This is typically what I do in my
code as well - less code, less testing. The additional roundtrip
to the database is negligible for my use cases.
Am 09.07.2015 um 06:04 schrieb Vince George (vincgeor):
That is what I would have thought - but what surprised me is
I think jsql may be requesting a prepared statement to run a
simple SQL statement which makes no sense!?