`
cherryQQ
  • 浏览: 1125538 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论

ORA-22992:无法使用远程表选择的LOB定位符

 
阅读更多

ORA-22992:无法使用远程表选择的LOB定位符

 

仔细检查一下,远程的表只有一个是clob字段,但是我暂时,没有用到这个字段,

在查询的时候,把这个字段去掉,把用到的字段进行统计,不再报这样的错误,

 

 

------------如何所有的字段都需要,

 

网上的解决办法,一并搬来

 

解决办法:
   先创建一个临时表,然后把远程的含CLOB字段的表导入到临时表中,再倒入本表。

 
    create global temporary table test_temp as select * from test;

    insert into test_temp select * from test@DB_LINK;

    insert into test select * from test_temp;

    commit;  

 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics