create table t(a int,b int)
insert t values(1,null)
insert t values(2,1)
insert t values(3,null)select count(b) from t where b is not null
select count(b),count(*),count(IsNull(b,0)) from t where b is null                                     
----------- ----------- ----------- 
0           2           2(所影响的行数为 1 行)