Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> SQL Help
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
![]() |
![]() |