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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Num of rows of all tables in a database...

Re: Num of rows of all tables in a database...

From: Anjan Thakuria <Anjan.Thakuria_at_sabre.com>
Date: Thu, 21 Sep 2000 09:22:59 -0500
Message-Id: <10626.117576@fatcity.com>


Thank you everybody. What I was looking for was though a PL/SQL procedure.

Anjan

Diana Duncan wrote:

> This just does one schema, just change user_ to dba_ for all tables.
>
> set pages 200
> set heading off
> set feedback off
> spool do_count.sql
> select 'select count(*) as ' || table_name || ' from ' || table_name || ';'
> from user_tables;
> spool off
> set heading on
> @do_count
> set feedback on
>
> -----Original Message-----
> Sent: Wednesday, September 20, 2000 6:56 PM
> To: Multiple recipients of list ORACLE-L
>
> Hi Listers,
>
> Does any body have a script that gives you the number of rows of each table
> in a
> database that has not been analyzed in a while.
>
> TIA
>
> Anjan
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Anjan Thakuria
> INET: Anjan.Thakuria_at_sabre.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Diana Duncan
> INET: Diana_at_fileFRENZY.com
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
Received on Thu Sep 21 2000 - 09:22:59 CDT

Original text of this message

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