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:12:21 GMT
Message-ID: <961btr$bbp$1@nnrp1.deja.com>

That thing was full of typos, lets try again :

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 line to a ';', then run count.sql.

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

Original text of this message

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