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

Home -> Community -> Usenet -> c.d.o.server -> Re: Calling all the SQL Guru's

Re: Calling all the SQL Guru's

From: <jdorlon_at_my-deja.com>
Date: Fri, 09 Feb 2001 18:08:08 GMT
Message-ID: <961blv$avg$1@nnrp1.deja.com>

set pagesize 0;
spool count.sql;
select 'select count(*), ''' || owner || '^' || table_name || ''' from '||owner||'.'|| table_name||' union ' from all_tables where owner not in ('SYS', 'SYSTEM')
spool off;

You will then have to edit 'count.sql' to change the word 'Union' on the last like to a ';'

--
hth,

John
For your GUI Oracle needs, try EZSQL!
www.ezsql.net


Sent via Deja.com
http://www.deja.com/
Received on Fri Feb 09 2001 - 12:08:08 CST

Original text of this message

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