• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

prepareCall

 
Arun Boraiah
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having stored procedure which return two output parameter (one int and one string). I have query for prepareCall as follows "{ ?,? = call sp_test }" where this sp don't take any input parameter.
An exception i thrown "
An escape sequence in a SQL Query was malformed: '{ ?, ? = call sp_test }'. "
I have a doubt that my query for prepare call is not correct. Any inputs for my doubt?
Thanks in advance.
Regards
Arun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic