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 -> SQL Help

SQL Help

From: Joe Philip <joe.philip_at_verizon.net>
Date: Mon, 12 Aug 2002 16:05:47 GMT
Message-ID: <v1R59.38$cV1.26@nwrddc04.gnilink.net>


I want to find the free space and used space from a database. I wrote the following sql but does not work:

select sum(a.bytes) free, sum(b.bytes) used from dba_free_space a, dba_segments b
where a. tablespace_name=b.tablespace_name group by a.tablespace_name
/

What am I doing wrong? Received on Mon Aug 12 2002 - 11:05:47 CDT

Original text of this message

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