SQL> alter tablespace java add datafile 'd:/programming/java.dbf'; * ERROR at line 1: ORA-01537: cannot add file 'd:/programming/java.dbf' - file already part of database SQL> select TABLESPACE_NAME,FILE_NAME,STATUS from dba_data_files 2 where FILE_NAME='%JAVA.DBF'; no rows selected.
i just want to know the statement searching where the file is included.