Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Number of the rows affected by a SQL statement

Re: Number of the rows affected by a SQL statement

From: Ronan Miles <milesr_at_entcf2.agw.bt.co.uk>
Date: 1997/07/03
Message-ID: <33BBB925.486A@entcf2.agw.bt.co.uk>#1/1

Vladimir Konstantinov wrote:
>
> How could i find the number of the rows affected by the last query (within
> stored procedure) ?

Use the SQL%ROWCOUNT cursor variable. This shows the number of rows fetched (not quite what you asked) and the number of rows affected by an Insert , Update or Delete operation.

R.

-- 
_____________________________________________________________

Opinions expressed are my own and do not reflect my employers
Received on Thu Jul 03 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US