terça-feira, 31 de março de 2009

Tablespace name and File Name From dba_data_files

SQL> select tablespace_name, file_name
2 from dba_data_files
3 order by tablespace_name;

TABLESPACE_NAME FILE_NAME
---------------- -------------------------------
EXAMPLE /u01/app/oracle/oradata/orcl/example01.dbf
SYSAUX /u01/app/oracle/oradata/orcl/sysaux01.dbf
SYSTEM /u01/app/oracle/oradata/orcl/system01.dbf
UNDOTBS1 /u01/app/oracle/oradata/orcl/undotbs01.dbf
USERS /u01/app/oracle/oradata/orcl/users01.dbf