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: Empty Table

Re: Empty Table

From: Stephen Andert <andert_at_gmail.com>
Date: Sun, 23 Jan 2005 21:45:50 -0700
Message-ID: <6d45e210501232045153f835d@mail.gmail.com>


Probably the easiest is to analyze the schema and then select table_name from dba_tables where numrows (sp?) = 0.

Or you could select count(*) from all tables with some dynamic SQL, but if any of the tables are large, that could get time and CPU consuming.

HTH
Stephen

On Sun, 23 Jan 2005 20:06:42 -0800 (PST), Kean Jacinta <jacintakean_at_yahoo.com> wrote:
> Hello
>
> I need some help here. I need to get a report of all
> the table that are empty on a schema.
>
> How shall i do that ?
>
> Thank In advance
>
> JK
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> http://info.mail.yahoo.com/mail_250
> --
> http://www.freelists.org/webpage/oracle-l
>

--
http://www.freelists.org/webpage/oracle-l
Received on Sun Jan 23 2005 - 23:48:15 CST

Original text of this message

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