ITPub博客

首页 > 数据库 > 数据库开发技术 > 误删除dual表的解决办法

误删除dual表的解决办法

原创 数据库开发技术 作者:jss001 时间:2009-02-17 17:09:17 0 删除 编辑

1 ) Error 980 during db open is causing the shut down of the database

2 ) Need to create the Dual Table to resolve the issue (which was not possible in the mount stage)

Workaround
=========
3 ) Set the following parameter in the init.ora

replication_dependency_tracking = FALSE

4 ) Startup the database

5 ) Create the Dual Table and Dual Public Synonym

CREATE TABLE "SYS"."DUAL"
( "DUMMY" VARCHAR2(1)
) PCTFREE 10 PCTUSED 4;
Insert Into Dual Values ('X');
Commit;
Grant Select On Dual To Public;


6 ) Remove the above parameter and restart the database

Note :- Dual table should not be dropped in any case , as it can lead to serious problems
Errors

加参数replication_dependency_tracking = FALSE
就能open了。然后用sys
create table sys.DUAL(DUMMY varchar2(1));
insert into dual values('X');
commit;
grant select on dual to public;
把参数去了

[@more@]

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

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