Oracle學習筆記:ORA-22992 cannot use LOB locators selected from remote tables


  通過DB_LINK訪問遠程表的時候出現 ORA-22992: cannot use LOB locators selected from remote tables 錯誤。

  原因:因為表中含有clob字段,在統計庫中用到這個表。

  如果我們用不到這個clob字段,不訪問這個clob字段就可以。

  具體方法有兩種:

  1.直接登錄遠程服務器,在服務器上進行 select 查找;

  2.在本地建立中間臨時表,抽取部分數據;

-- table_xxx@space
select * from table_xxx@space;  -- 無法直接查詢

create table tmp_test as
select * from table_xxx@space where rownum <= 10; select * from tmp_test; -- 可以查詢

END 2018-09-11 09:50:44


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM