Subject Re: [ib-support] Getting number of rows affected after calling isc_dsql_execute_immediate.
Author Paul Reeves
kfcheun2000 wrote:
>
> I found the following the link and it shows how to get the row
> counts after calling isc_dsql_prepare() and isc_dsql_execute().
>
> http://cvs.sourceforge.net/cgibin/viewcvs.cgi/firebird/OdbcJdbc/IscDbc
> /IscStatement.cpp?rev=1.6&content-type=text/vnd.viewcvs-markup
>

It looks as if it can't be done. isc_dsql_sql_info() must be passed a
statement handle and isc_dsql_execute_immediate() doesn't use one, and
neither does it return one.

If you need to the exta information it would seem that you are going to
have to go the extra mile with isc_dsql_prepare() et al, prior to
calling isc_dsql_execute().


Paul
--

Paul Reeves
http://www.ibphoenix.com
Supporting users of Firebird and InterBase