Hi,

I am trying to execute this sql as prepared statement

update reason set failurereason=? where ID=? 

reason is a table with two columns
ID is integer
failurereason is a string

During the batch execution i see

exec 3('whatever',2);

in the batch and then i get

MALException:(unknown):wrong argument for prepared statement (expected int
instead of char)

Looks like expected types are getting swapped. 

Thanks
Bharani

-- 
View this message in context: 
http://www.nabble.com/Prepared-Statement-Error-tf4116290.html#a11705803
Sent from the monetdb-developers mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to