SELECT COUNT(Column_Name) FROM TableName WHERE ltrim(rtrim(Column_Name)) = ''
SELECT COUNT(column_to_count) AS count FROM table
SELECT COUNT(*) - COUNT(column_to_count) FROM table
where (columnName is null or columnName = '')
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)