SQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSAUX01.DBF E:\APP\ADMINISTRATOR\ORADATA\ORCL\UNDOTBS01.DBF E:\APP\ADMINISTRATOR\ORADATA\ORCL\USERS01.DBF E:\APP\ADMINISTRATOR\ORADATA\ORCL\EXAMPLE01.DBF 5 rows selected
或者下面的sql语句:
1 2 3 4 5 6 7 8 9 10 11
SQL> select status,fuzzy,tablespace_name,name from v$datafile_header; STATUS FUZZY TABLESPACE_NAME NAME ------- ----- ------------------------------ -------------------------------------------------------------------------------- ONLINE YES SYSTEM E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSTEM01.DBF ONLINE YES SYSAUX E:\APP\ADMINISTRATOR\ORADATA\ORCL\SYSAUX01.DBF ONLINE YES UNDOTBS1 E:\APP\ADMINISTRATOR\ORADATA\ORCL\UNDOTBS01.DBF ONLINE YES USERS E:\APP\ADMINISTRATOR\ORADATA\ORCL\USERS01.DBF ONLINE YES EXAMPLE E:\APP\ADMINISTRATOR\ORADATA\ORCL\EXAMPLE01.DBF 5 rows selected