关于 ORA-22992

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

问题现象:当使用dblink在操作(insert或select)含有lob字段的表时报错
例如:insert into test data select * from  test [email protected]
问题原因:表中含有lob字段不能使用dblink查询
解决方法:

1、建立相同的表结构

create  table testdata  as select decdata from test[email protected]

2、建立全局临时表

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

猜你喜欢

转载自840536410.iteye.com/blog/2053636