Possible Duplicate:
How to count in SQL all fields with null values in one record?
I have table with five columns:
Name DOB Email phone jobtitle abc null a@c.com null null bbc null null null null
How do I write a query so that I can find the number of null columns in a row?
(e.g. Row 1 is having 3 null value, and row 2 is having 4 null values.)
I am using SQL Server 2008.