大话人生

  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  299 随笔 :: 0 文章 :: 73 评论 :: 0 Trackbacks

DROP TABLESPACE INCLUDING CONTENTS CASCADE CONSTRAINTS
Will give an error
ORA-01561: failed to remove all objects in the tablespace specified

Solution
Step 1:
select ts# from ts$ where name = ‘ ‘;

Step 2:
update seg$ set type# = 3 where ts#=;
commit;

Step 3
shutdown abort;
startup

Step 4
drop tablespace including contents;

posted on 2010-07-06 16:55 大话人生 阅读(637) 评论(0)  编辑 收藏 引用 所属分类: 数据库
只有注册用户登录后才能发表评论。