display number of rows affected in test window

jroberts

Member
Hi,

is it possible to display the number of rows affected by an update through the test window? E.g. in the status line
 
The following will already do the trick:
Code:
begin
  update yourtable
     set ...
   where ...;
  :rows_affected := sql%rowcount;
end;
You can declare :rows_affected as a number or string variable.
 
Back
Top