Subject | Firebird API calls |
---|---|
Author | gregor_m2 |
Post date | 2006-12-31T09:49:45Z |
Hi folks,
Is anybody familiar with using isc_dsql_sql_info() and
isc_dsql_exec_immed2().
I've checked the function isc_dsql_sql_info() with isc_info_sql_records
(=23)
as parameter to retrive the records count and it seems not to work. The
value 2 is always returned into the buffer.
The function isc_dsql_sql_info() was called once after successful
execution of isc_dsql_prepare() and then after successful execution of
isc_dsql_execute().
Results were always the same, the value 2 in the buffer.
Also the function isc_dsql_exec_immed2() seems to work incorrectly.
I used it to execute a query 'select count(*) from aTable', and
the wrong value (very high) is returned all the time.
Thanks for every remark in advance.
[Non-text portions of this message have been removed]
Is anybody familiar with using isc_dsql_sql_info() and
isc_dsql_exec_immed2().
I've checked the function isc_dsql_sql_info() with isc_info_sql_records
(=23)
as parameter to retrive the records count and it seems not to work. The
value 2 is always returned into the buffer.
The function isc_dsql_sql_info() was called once after successful
execution of isc_dsql_prepare() and then after successful execution of
isc_dsql_execute().
Results were always the same, the value 2 in the buffer.
Also the function isc_dsql_exec_immed2() seems to work incorrectly.
I used it to execute a query 'select count(*) from aTable', and
the wrong value (very high) is returned all the time.
Thanks for every remark in advance.
[Non-text portions of this message have been removed]