[Monetdb-developers] Prepared Statement Error

Bharani bharani_vms at yahoo.com
Fri Jul 20 12:28:37 CEST 2007


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. 


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.

More information about the developers-list mailing list