[erlang-questions] odbc:param_query works in window ?
Siddharth Pareek
siddharthpareek@REDACTED
Wed Dec 27 13:47:19 CET 2006
hi,
i was using the parameterzed query in Erlang using the module odbc:param_query.
The mesage passed is : odbc:param_query(Ref,"Select count(*) from counter where type=?",[{{sql_varchar,20},["crick"]}]).
Below is the error that is generated.
{error,connection_closed}
=ERROR REPORT==== 27-Dec-2006::18:15:10 ===
** Generic server <0.95.0> terminating
** Last message in was {#Port<0.185>,{exit_status,10}}
** When Server state == {state,#Port<0.185>,
{<0.35.0>,#Ref<0.0.0.280>}
<0.35.0>,
undefined,
on,
true,
true,
on,
connected,
undefined,
0,
[#Port<0.183>,#Port<0.184>
#Port<0.186>,
#Port<0.187>}
** Reason for termination ==
** {port_exit,does_not_support_param_arrays}
Is there any problem in my message passing or I also heard that windows does not support the param_query ....
Thanks and Regards,
Siddharth Pareek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20061227/c0d7aea8/attachment.htm>
More information about the erlang-questions
mailing list