[erlang-questions] Invoking a stored procedure fails
Karolis Petrauskas
k.petrauskas@REDACTED
Thu May 30 17:12:44 CEST 2013
I beleave you should pass <0.66.0> instead of {ok,<0.66.0>} for the
first argument.
Karolis
On Thu, May 30, 2013 at 4:54 PM, Yash Ganthe <yashgt@REDACTED> wrote:
> Using ODBC, I am trying to invoke a stored procedure:
>
> mydb:myfunc(db:get_connection("MYDB"),1).
> ** exception error: no function clause matching
> odbc:param_query({ok,<0.66.0>},
> "call sp_mysp(?) ",
> [{sql_integer,[1]}],
> infinity) (odbc.erl, line 363)
>
> From myfunc I am making a call to odbc:param_query, passing it the
> connection reference, the Query string and the params. Is there something
> else I need to do?
>
> Thanks,
> Yash
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list