MySQL Forums
Forum List  »  Connector/C++

Re: Stored Procedure call fails with unhelpful error.
Posted by: Luis Silva
Date: February 12, 2020 05:49PM

Hi John,

When using sql(), there is no binding by name, so you need to pass the placeholder ? and bind() the exact number of arguments.

In your case, you are passing 2 binding values and no placeholder ?.

Hope it helps!

Cheers,
Luís

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Stored Procedure call fails with unhelpful error.
164
February 12, 2020 05:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.