- Mar 1, 2000
- 30,890
- 5,001
- 126
part of my SELECT statement looks like the following:
What I'd like to be able to do is if that COUNT returns "0" that it is replaced with "NULL" so that it shows up in my report as a blank cell/value.
Any suggestions or thoughts would be appreciated.
Thanks.
Code:
COUNT(CASE WHEN (DATEDIFF(DAY,GETDATE(),DATE) = -1) THEN FILENO END) AS '-1',
What I'd like to be able to do is if that COUNT returns "0" that it is replaced with "NULL" so that it shows up in my report as a blank cell/value.
Any suggestions or thoughts would be appreciated.
Thanks.
