Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: check how many rows processed of a sql statement
A copy of this was sent to dshi_at_magpage.com (David Shi)
(if that email address didn't require changing)
On 6 Jul 1998 01:07:27 GMT, you wrote:
>Is there a way to check how many rows processed of a sql statement? Thanks.
>
>David
depends on the language.
In C and Pro*C sqlca.sqlerrd[2] has it.
In PL/SQL with 'static' sql, sql%rowcount after an insert/update/delete has it.
In PL/SQL with 'dynamic' sql, dbms_sql.execute returns it as a value...
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Herndon VA
http://govt.us.oracle.com/ -- downloadable utilities
Anti-Anti Spam Msg: if you want an answer emailed to you, you have to make it easy to get email to you. Any bounced email will be treated the same way i treat SPAM-- I delete it. Received on Mon Jul 06 1998 - 09:09:16 CDT
![]() |
![]() |