Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: select statement
spool /tmp/runthis.sql
select 'select count(1) from '||table_name||';' from dba_tables;
spool off
@/tmp/runthis.sql
"Luis Fernandes" <lfernandes_at_gruposumol.pt> wrote in message
news:3b263360.24726184_at_news.telepac.pt...
> How can i do this in Oracle?
>
> select table_name from dba_tables;
>
> and then
>
> select count(*) from ... each table resulting from first select?
>
>
> I'll appreciate your solutions..
>
>
Received on Tue Jun 12 2001 - 10:40:01 CDT