好像听说是大部分情况是从后面的条件先执行的.
比如:select 1 from dual
where to_number('123a')=123 and 123>100
和
select 1 from dual
where 123<100 and to_number('123a')=123
和
select 1 from dual
where to_number('123a')=123 and 123<100第一个执行报错,第二个报错,第三个不报错.
你可以看执行计划分析!
比如:select 1 from dual
where to_number('123a')=123 and 123>100
和
select 1 from dual
where 123<100 and to_number('123a')=123
和
select 1 from dual
where to_number('123a')=123 and 123<100第一个执行报错,第二个报错,第三个不报错.
你可以看执行计划分析!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货