[erlang-questions] odbc:sql_query/2 problem

Surindar Sivanesan <>
Wed Oct 18 16:36:01 CEST 2006


Dear all,

I'm using erlang 5.4.3
Using ODBC, I'm using Store Procedure (SP) which first updates and then
selects contents in a table.
The function odbc:sql_query/2 is returning {error,"No SQL driver information
avaiable" }.
( The same SP is perfectly working in MS SQL query analyser)
If Ichange the order of operation of  SP such that it first select the and
then update the contents, the function odbc:sql_query/2 is working
perfectly.
Is it a bug in erlang?

-- 
with regards,
S.Surindar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20061018/98bd0273/attachment.html>


More information about the erlang-questions mailing list