sql server中为什么不建议使用not in

来源:互联网 发布:mysql如何查看表空间 编辑:程序博客网 时间:2024/04/28 10:55

1.结果不精准

例子:select 'youzhi' where 3 not in(1,2,null)  等价于  select 'youzhi' where 3<>1 and 3<>2 and 3<>null2.

2.性能低下

0 0