Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: all table names with row counts?
This query doesn't seem to be executable in pure SQL (please, correct me
if I'm wrong), because
any relational operation involves only limited number of tables. It
cannot query arbitrarily many
tables like 'all_tables' in this case.
Vadim Tropasko wrote:
> I want to perform query like this
>
> select table_name, (select count(*) from table_name) from all_tables
>
> but cannot fugure out how to build join correctly. Any ideas?
>
> No procedural solution, please.
Received on Wed Jan 27 1999 - 14:50:02 CST