解决方法:

可以先创建一个临时表,然后把远程有lob字段的表克隆到临时表中,然后再进行链接操作

1、本地创建临时表

sql代码:

create global temporary table user_temp as select * from user;

 

 

2、用dblink导入远程数据临时表

sql代码:

insert into user_temp select * from user@user_link;--不要commit;否则临时表中的数据会丢失

 

3、把临时表数据插入到永久表中:

sql代码:

insert into user select * from user_temp;

commit;

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐