dblink ORA-22992的解決辦法

今天在做dblink查數據的時候報錯:

ORA-22992: cannot use LOB locators selected from remote tables

因爲該表中存在blob類型的列

解決辦法:

create  table tsalesorder as select SIGNATURELABELIMAGE from tsalesorder@ESCALADE19

或者

create global temporary table tsalesorder
(
   X BLOB
)
on commit delete rows;

insert into tsalesorder select SIGNATURELABELIMAGE from tsalesorder@ESCALADE19 where rownum<3;

這樣就可以了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章