Thanks! I shall try this. It is a little annoying, though, as we relied
on the data type information from the server to cast our param values
properly. That will need some rethinking.
peo
[quoted text, click to view] brannonj@gmail.com wrote:
> Ah. When you prepare the statement, the driver needs to know certain
> information about each parameter (ie. data type,precision,etc). If you
> don't bind the parameter, then the driver will try to describe it on
> it's own. In a lot of cases this will fail (like using a parameter in
> a sub-select). If you bind the parameter first, then the driver can
> use the binding information you specified to describe the parameter.
> In most cases, this should resolve any syntax errors you are getting.
> Brannon