ITPub博客

首页 > 数据库 > Oracle > oracle 失误删掉数据文件后,删除表空间操作

oracle 失误删掉数据文件后,删除表空间操作

原创 Oracle 作者:generators 时间:2010-08-09 15:24:53 0 删除 编辑

失误删掉数据文件后,删除表空间操作。
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.

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9307930/viewspace-1036526/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    43
  • 访问量
    1057882