I'm working on asp.net website. I'm not able to count the only null values for particular id from the database Sqlserverce. suppose I have table called Alarm
alarmid date
1 12/12/2010
2 Null
3 4/4/2010
5 12/05/2011
6 Null
Here I need to find count of null values. ie 2. I used ISNULL with COUNT function but its not working. How to find the null values count. I tried like select count(date) where date is null. but not working. pls help me out.