Subject | Counting rows affected by UPDATE/INSERT/DELETE queries |
---|---|
Author | Scott Morgan |
Post date | 2004-03-02T12:12:51Z |
From the C API whats the best was to find out how many records have
been affected by an UPDATE, INSERT or DELETE query?
The only solution I can work out so far, is to use the isc_database_info
function to retive the isc_info_insert_count, isc_info_update_count and
isc_info_delete_count before and after the query is run and find the
diffrence.
Is their a better, more direct way to do this?
Scott Morgan
been affected by an UPDATE, INSERT or DELETE query?
The only solution I can work out so far, is to use the isc_database_info
function to retive the isc_info_insert_count, isc_info_update_count and
isc_info_delete_count before and after the query is run and find the
diffrence.
Is their a better, more direct way to do this?
Scott Morgan