ITeye博客

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

cherryQQ · 2013-11-15 11:25 · oracle spring · 数据库 · Markdown

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;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。