瘋狂

          STANDING ON THE SHOULDERS OF GIANTS
          posts - 481, comments - 486, trackbacks - 0, articles - 1
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          日歷

          <2013年2月>
          272829303112
          3456789
          10111213141516
          17181920212223
          242526272812
          3456789

          公告

          公眾號:
          QQjava交流群:51374316



          相冊

          搜索

          •  

          積分與排名

          • 積分 - 2844370
          • 排名 - 2

          最新隨筆

          oracle ORA-39212異常

          Posted on 2013-02-20 10:10 瘋狂 閱讀(2393) 評論(0)  編輯  收藏 所屬分類: databasequestions_handerquestions方法論

          通過ddl查詢建表語句:

           

          SQL> select dbms_metadata.get_ddl('TABLE','表名稱') from dual;

          出現以下錯誤:

          ‍ERROR:
          ORA-39212: installation error: XSL stylesheets not loaded correctly
          ...
          官方文檔解釋如下:

          ORA-39212: installation error: XSL stylesheets not loaded correctly
          Cause: The XSL stylesheets used by the Data Pump Metadata API were not loaded correctly into the Oracle dictionary table "sys.metastylesheet." Either the stylesheets were not loaded at all, or they were not converted to the database character set.
          Action: Connect AS SYSDBA and execute dbms_metadata_util.load_stylesheets to reload the stylesheets.


          原因是相關的oracle內部的字典表sys.metastylesheet沒有創建,或者跟你修改字符集有關系,重新執行相關存儲過程即可。
          解決方法:
          以sysdba用戶登陸以后執行以下語句:
          SQL> exec dbms_metadata_util.load_stylesheets;

          PL/SQL procedure successfully completed.

           

          即可。

           

          主站蜘蛛池模板: 会昌县| 沅江市| 应用必备| 永宁县| 金塔县| 定兴县| 洞口县| 安康市| 高青县| 文山县| 肇东市| 安化县| 茂名市| 广安市| 改则县| 山西省| 凌海市| 吉林省| 郯城县| 海盐县| 肥东县| 杭州市| 安徽省| 胶州市| 栾川县| 新乐市| 尼玛县| 理塘县| 西乌珠穆沁旗| 乌恰县| 衡阳市| 疏勒县| 福清市| 江安县| 乌鲁木齐县| 西平县| 托克托县| 遵义市| 北川| 闸北区| 铁力市|