Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: how to find out table names from the given datafile???
select d.name datafile_name,t.NAME tablespace_name,s.segment_name
from v$datafile d,
v$tablespace t,
dba_segments s
where d.TS#=t.TS# and s.tablespace_name = t.NAME and s.segment_type = 'TABLE' and t.NAME = 'TABLESPACE1'