How can I make the SUM of a numeric field (Number_2017) in which NULL records and BLANK records counted as 0
I tried this for the NULL-records :
SELECT sum(IIF(ISNULL (Number_2017),0,Number_2017)) AS TotalNumber FROM Tablematch
but how to combine it with the 'blanks' (=string) ?
Thanks - Leifoet
I tried this for the NULL-records :
SELECT sum(IIF(ISNULL (Number_2017),0,Number_2017)) AS TotalNumber FROM Tablematch
but how to combine it with the 'blanks' (=string) ?
Thanks - Leifoet