SQL Server 中not in和not exists

NOT IN和NOT EIXTS在对允许为null的列查询时会有一定的风险。

特别是NOT IN,如果子查询包含了最少一个NULL,会出现非预期的结果。

http://blog.csdn.net/dba_huangzj/article/details/31374037

posted @ 2014-06-26 15:11  shihuai355  阅读(483)  评论(0编辑  收藏  举报