关于sql 语句的记录

一、

select 1 where 1 not in (2,3,null)   执行结果为空。

解释:not in  当结果集中 有null的时候  直接返回 false。

二、

使用函数时,不会应用索引。

 

 

 

 

 

 

posted on 2013-06-28 11:45  习惯简单  阅读(157)  评论(0编辑  收藏  举报

导航