zoukankan      html  css  js  c++  java
  • PLS-00201: identifier 'SYS.DBMS_CUBE_EXP' must be declared

    PLS-00201: identifier 'SYS.DBMS_CUBE_EXP' must be declared

    1 场景

    在 使用数据泵导(expdp)出时,遇到报错。

    2 错误信息

    错误1:

    ORA-31642: the following SQL statement fails:
    BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'12.02.00.00.00'); END;
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06550: line 1, column 8:
    PLS-00201: identifier 'SYS.DBMS_CUBE_EXP' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    

    错误2:

    ORA-39127: unexpected error from call to "SYS"."DBMS_CUBE_EXP"."SCHEMA_INFO_EXP"
    ORA-44002: invalid object name
    ORA-06512: at "SYS.DBMS_ASSERT", line 401
    ORA-06512: at "SYS.DBMS_ASSERT", line 401
    ORA-06512: at "SYS.DBMS_METADATA", line 11181
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    

    3 解决方法

    MOS ID: 1328829.1

    connect / as sysdba
    SELECT * FROM SYS.EXPPKGACT$ WHERE PACKAGE = 'DBMS_CUBE_EXP';
    CREATE TABLE SYS.EXPPKGACT$_BACKUP AS SELECT * FROM SYS.EXPPKGACT$;
    DELETE FROM SYS.EXPPKGACT$ WHERE PACKAGE = 'DBMS_CUBE_EXP' AND SCHEMA= 'SYS';
    commit;
    

    Author: halberd.lee

    Created: 2020-10-23 Fri 15:36

    Validate

  • 相关阅读:
    Linux 内核编码风格
    三种批量插入数据的方法
    一次清除SQL SERVER错误日志的体会!
    打开潘多拉的魔盒——软件设计过程(1)——序
    bloom特效
    wcf基础知识之端口共享 portSharing
    高质量代码(一)
    Luence使用IKAnalyzer分词实例 及 IKAnalyzer扩展词库
    通过什么来衡量C# Socket服务的效能
    iOS开发进阶之静态链接库
  • 原文地址:https://www.cnblogs.com/halberd-lee/p/13864465.html
Copyright © 2011-2022 走看看