ORA-01537. i want to search where the file is included

后端 未结 1 397
无人共我
无人共我 2021-01-21 14:12
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          


        
相关标签:
1条回答
  • 2021-01-21 15:00

    Use like instead of =:

    select TABLESPACE_NAME, FILE_NAME,STATUS 
    from dba_data_files
    where UPPER(FILE_NAME) like '%JAVA.DBF';
    
    0 讨论(0)
提交回复
热议问题