首页 > 数据库 > Oracle > oracle 失误删掉数据文件后,删除表空间操作
失误删掉数据文件后,删除表空间操作。
SQL> drop tablespace sms;
drop tablespace sms
*
ERROR at line 1:
ORA-01116: error in opening database file 15
ORA-01110: data file 15: '/u01/app/oracle/oradata/orcl/sms.dbf'
ORA-27041: unable to open file
Linux Error: 2: No such file or directory
Additional information: 3
SQL> alter database datafile '/u01/app/oracle/oradata/orcl/sms.dbf' offline drop;
Database altered.
SQL> drop tablespace sms;
Tablespace dropped.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9307930/viewspace-1036526/ ,如需转载,请注明出处,否则将追究法律责任。