zoukankan      html  css  js  c++  java
  • 误删除dual表的解决办法

    ===========================================================
    作者: m77m78(http://m77m78.itpub.net)
    发表于:2007.05.14 21:43
    分类: oracle 管理
    出处:http://m77m78.itpub.net/post/125/287704
    ----------------------------------------------------------

    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;
    把参数去了

  • 相关阅读:
    NeatUpload 同时选择并上传多个文件
    前言
    11:连续出现的字符(1.9)
    06笨小猴(1.9)
    05:最大值和最小值的差(1.9)
    02:输出最高分数的学生姓名(1.9)
    04:谁拿了最多奖学金(1.9)
    03 不高兴的津津(1.9)
    01:查找特定的值(1.9)
    1813(2.1)
  • 原文地址:https://www.cnblogs.com/jasonsfu/p/1156055.html
Copyright © 2011-2022 走看看