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 -> help for SQL beginner

help for SQL beginner

From: zeb <spam_at_nowhere.com>
Date: Sun, 6 Mar 2005 12:29:37 +0100
Message-ID: <422ae928$0$27842$626a14ce@news.free.fr>


hi

I try to get file_name and size
for tablespace having objects from USER1

I tried some joins with this two queries but no success, can you help me ?

select tablespace_name
from dba_segments
where owner = 'USER1'
group by tablespace_name

select tablespace_name, file_name, bytes from dba_data_files
where tablespace_name='rows from above query'

Thanks in advance ... Received on Sun Mar 06 2005 - 05:29:37 CST

Original text of this message

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