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