Home Forums SQL Server 2005 SQL Server Newbies Coalesce returning 1 value only RE: Coalesce returning 1 value only
matt6288
SSCertifiable
Points: 5058
More actions
September 16, 2009 at 12:42 pm
#1054673
The problem is that a count of 0 is still nonnull so that is what coalesce returns. You could probably do something with a case statement that would correct this.