I have a select statement that returns two columns, a date column, and a count(value) column. When the count(value) column doesn\'t have any records,
count(value)
You may use COUNT(*). It will return zero if nothing was found for the column. Also you may group result set by value column if it is needed.
COUNT(*)