隐式类型转换致使的索引实效

where c1='1'   c1 number类型  能够用索引   自动将‘1’转换成1了ide

where c1=1     c1 varchar类型  不会用索引  包含to_number(c1)索引

相关文章
相关标签/搜索