[freetds] Exceptoins are not picked up by FreeTDS from DB?(0.62.2 )

Frediano Ziglio freddyz77 at tin.it
Sat Apr 3 06:23:10 EST 2004


Il ven, 2004-04-02 alle 19:24, Piet De Jong ha scritto:
> > Fix backported to 0.62
> > 
> Works when using sql statements,
>  but when a stored proc is executed and it uses raiserror it is not
> propagated to application.
> 
> Piet
> 

Mmm... that's strange...
see page
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbcsql/od_6_025_21ir.asp
then see our raiseerror test... from documentation it seems that
SQLExecute should return SQL_ERROR however it returns SQL_SUCCESS (even
with MS ODBC)... Quite strange...

freddy77





More information about the FreeTDS mailing list