<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>hi,</FONT></DIV>
<DIV><FONT face=Arial size=2> i was using the
parameterzed query in Erlang using the module odbc:param_query. </FONT></DIV>
<DIV><FONT face=Arial size=2>The mesage passed is :
<STRONG>odbc:param_query(Ref,"Select count(*) from counter where
type=?",[{{sql_varchar,20},["crick"]}]).</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG> Below is the error that is
generated.</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>{error,connection_closed}<BR>=ERROR REPORT====
27-Dec-2006::18:15:10 ===<BR>** Generic server <0.95.0> terminating<BR>**
Last message in was {#Port<0.185>,{exit_status,10}}<BR>** When Server
state ==
{state,#Port<0.185>,<BR>
{<0.35.0>,#Ref<0.0.0.280>}<BR>
<0.35.0>,<BR>
undefined,<BR>
on,<BR>
true,<BR>
true,<BR>
on,<BR>
connected,<BR>
undefined,<BR>
0,<BR>
[#Port<0.183>,#Port<0.184><BR>
#Port<0.186>,<BR>
#Port<0.187>}<BR>** Reason for termination ==<BR>**
{port_exit,does_not_support_param_arrays}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Is
there any problem in my message passing or I also heard that windows does not
support the param_query ....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks and Regards,<BR>Siddharth
Pareek</FONT></DIV></BODY></HTML>