<font face="verdana">Dear all, </font>
<div><font face="verdana"> </font></div>
<div><font face="verdana">I'm using erlang 5.5</font></div>
<div><font face="verdana"></font> </div>
<div><font face="verdana">I'm having a Store Procedure (SP) which returns 8 tables (MS Sql).</font></div>
<div><font face="verdana">When I use that same SP in odbc:<code><font face="verdana">sql_query/2,</font> <font face="verdana">it returns {error,"Column type not supported"}.</font></code></font></div>
<div><code><font face="verdana">If I change the SP such that it will return only one table, the SP works fine in odbc:<code><font face="verdana">sql_query/2</font>.</code></font></code></div>
<div><code><code><font face="verdana">From this results, I concluded that, <font face="Verdana">odbc:sql_query/2 does not support query which returns multiple tables.</font></font></code></code></div>
<div><code><code><font face="verdana">Am I right? Or, Is there any option available to make odbc</font><font face="verdana">:</font><font face="verdana"><code><font face="verdana">sql</font>_<font face="verdana">query</font>
/2 <font face="verdana">to work if the query returns multiple tables?</font></code></font></code></code></div>
<div><code><code><code><font face="Verdana">Please give your inputs.</font></code></code></code></div>
<div><code><code><code><font face="Verdana">Thanks in advance.</font></code></code></code></div><font face="verdana">-- <br>with regards,<br>S.Surindar </font>