瘋狂

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

          oracle ORA-39212異常

          Posted on 2013-02-20 10:10 瘋狂 閱讀(2391) 評論(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.

           

          即可。

           

          主站蜘蛛池模板: 都昌县| 英吉沙县| 贵南县| 保山市| 内江市| 巩留县| 五台县| 兰西县| 海伦市| 平利县| 繁峙县| 通河县| 杨浦区| 呼伦贝尔市| 廊坊市| 开鲁县| 太谷县| 富川| 探索| 彩票| 青川县| 建瓯市| 吉水县| 永春县| 二连浩特市| 乐业县| 甘南县| 枞阳县| 繁峙县| 泸州市| 青龙| 洪泽县| 聊城市| 玉田县| 个旧市| 绥德县| 本溪市| 错那县| 鸡泽县| 商都县| 常熟市|