瘋狂

          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



          相冊

          搜索

          •  

          積分與排名

          • 積分 - 2843354
          • 排名 - 2

          最新隨筆

          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.

           

          即可。

           

          主站蜘蛛池模板: 洞口县| 池州市| 卓资县| 宁蒗| 宝应县| 米易县| 珲春市| 枣强县| 全椒县| 绥化市| 丰原市| 清徐县| 江华| 石楼县| 景宁| 肇州县| 辉南县| 房产| 西乡县| 花莲市| 灌阳县| 大余县| 南宫市| 中西区| 正阳县| 奈曼旗| 忻城县| 锦州市| 东乡族自治县| 巴彦县| 师宗县| 光泽县| 晴隆县| 通榆县| 辰溪县| 油尖旺区| 北安市| 淮滨县| 桑日县| 保定市| 朝阳县|