日期:2014-05-16  浏览次数:20508 次

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;??

?

?

?

?