将 NVL(i.GP3ZZHDM, ‘0’) != ‘0’ 等价改写为 i.GP3ZZHDM is not null or i.GP3ZZHDM!=‘0’ 。
从执行计划看,等价改写使外连接转换为内连接,避免了分区表全表扫描。
文章
阅读量
获赞