oracle 失誤刪掉資料檔案後,刪除表空間操作

generators發表於2010-08-09

失誤刪掉資料檔案後,刪除表空間操作。
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部落格 ” ,連結:http://blog.itpub.net/9307930/viewspace-1036526/,如需轉載,請註明出處,否則將追究法律責任。

相關文章