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

Home -> Community -> Usenet -> c.d.o.tools -> Re: select statement

Re: select statement

From: rob <rob_at_dsdelft.nl>
Date: Wed, 13 Jun 2001 13:31:40 +0200
Message-ID: <9g7ius$6l5$1@news.tudelft.nl>

> He meant he wanted the number of records in each table, not the number of
> tables.

That's exactly what it does.

> spool /tmp/runthis.sql

Changed it a little to get the table_name as header for the column :

select 'select count(1) '||table_name||' from '||owner||'.'||table_name||';' from dba_tables;

> spool off
> @/tmp/runthis.sql

Rob. Received on Wed Jun 13 2001 - 06:31:40 CDT

Original text of this message

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