You can spool the output of this  SQL and run it.

select 'select '''||table_name||''', count(*) from '||table_name||';' from
dba_tables where owner='SCHEMA_OWNER';

To get the table name in the output you have to put 3 ' s before and after
the first ||table_name||.

HTH,
Ruth

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 9:25 PM


Dear Listers,

I just made script to know the size of datafile in a tablepace ,
but I still have no idea to make a script to know the size of each table in
a schema ?

is there anyone who has the script ?
furthermore , I need some information about relationship diagram which
describe
the relation among tables/view to calculate storage of objects ( i.e
tablespace , datafile , segment , extent ) .

thanks in advance : )

=bambang=



<> Bambang Setiawan <>

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Bambang Setiawan
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Ruth Gramolini
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to