Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Getting record counts using SQL%rowcount
"Mike C" <michaeljc70_at_hotmail.com> wrote in message
news:1159907194.771163.230770_at_e3g2000cwe.googlegroups.com...
>I am trying to run a script in SQL Plus that will execute a bunch of
> report queries giving the number of rows returned after each one. What
> I have below (an example) doens't work and Oracle chokes. Why doesn't
> it like SQL%rowcount?
>
>
> select 1 from dual; --fake report query
>
> select SQL%rowcount from dual;
>
> select 2 from dual; --fake report query
>
> select SQL%rowcount from dual;
>
tahiti.oracle.com
etc. etc. Received on Tue Oct 03 2006 - 16:09:45 CDT
![]() |
![]() |