访问Oracle数据链路的blob字段值
访问照片表
select * from zp@dblink1 where a1='11111';
会报错:ora-22992 无法使用从远程表选择的LOB定位器
改为以下方法:
方法一:
drop table temp
Create table temp as select * from zp@dblink1 where a1='002';
select * from temp;
方法二:
--创建表只需执行一次
Create global temporary table temp on commit delete rows as select * from zp@zhplink where 1=2;
Create table temp2 as select * from temp where 1=2;
--可以多次执行insert
insert into temp select * from zp@zhplink where gmsfhm='140502199102260519';
insert into temp2 select * from temp;
select * from temp2;
相关推荐
liuyang000 2020-09-25
oraclemch 2020-11-06
Seandba 2020-08-16
dbasunny 2020-08-16
娜娜 2020-06-22
专注前端开发 2020-10-21
苏康申 2020-11-13
vitasfly 2020-11-12
FellowYourHeart 2020-10-05
赵继业 2020-08-17
whyname 2020-08-16
拼命工作好好玩 2020-08-15
langyue 2020-08-15
写程序的赵童鞋 2020-08-03
Accpcjg 2020-08-02
tydldd 2020-07-30
好记忆也需烂 2020-07-28