您的位置:首页 > 博客中心 > 数据库 >

访问oracle数据链路的blob字段值

时间:2022-03-13 23:20

访问照片表

select * from where a1=‘11111‘;

会报错:ora-22992 无法使用从远程表选择的LOB定位器

改为以下方法:

方法一:
 drop table temp
 Create  table temp as select * from where a1=‘002‘;
 select * from temp;

 方法二:

--创建表只需执行一次
Create global temporary table temp on commit delete rows as select * from where 1=2;
Create table temp2 as select * from temp where 1=2;

--可以多次执行insert

insert into temp select * from where gmsfhm=‘140502199102260519‘;
insert into temp2 select * from temp;

select * from temp2;

 

 

热门排行

今日推荐

热门手游