首页 > 数据库技术 > 详细

oracle bug 12415167

时间:2014-09-04 16:58:39      阅读:299      评论:0      收藏:0      [点我收藏+]
drop table t1;
create table t1 (c1 char(2) primary key, c2 char(1) not null);
insert into t1 values (‘A ‘,‘A‘);
 
select t1.c1 from t1
 where t1.c1 in (select c2 from t1 union all select ‘0‘||c2 c2 from t1);
select /*+ full(t1) */ t1.c1 from t1
 where t1.c1 in (select c2 from t1 union all select ‘0‘||c2 c2 from t1);
 
1st query returns no row, 2nd query return ‘A‘

oracle bug 12415167

原文:http://blog.csdn.net/mvccc/article/details/39055095

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!