SQL>drop tablespace test including contents
ERROR at line 1:
ORA-01116: error in opening database file 14
ORA-01110: data file 14: '/oracle8/oradata/dtgdb/test.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3[@more@]
ERROR at line 1:
ORA-01116: error in opening database file 14
ORA-01110: data file 14: '/oracle8/oradata/dtgdb/test.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3[@more@]
由于在Linux下不小心误删除了一个数据文件,结果删除包含该数据文件的表空间的时候报错!但是如果在windows下面的话,正在使用的数据文件是不能删除的!
SQL>drop tablespace test including contents
ERROR at line 1:
ORA-01116: error in opening database file 14
ORA-01110: data file 14: '/oracle8/oradata/dtgdb/test.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
SQL>alter database datafile '/oracle8/oradata/dtgdb/test.dbf' offline drop;
datafile dropped;
SQL>drop tablespace test including contents;
Tablespace dropped.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/188692/viewspace-905360/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/188692/viewspace-905360/