all groups > sql server mseq > march 2005 >
You're in the

sql server mseq

group:

Help with Query and Null


Help with Query and Null Ali
3/22/2005 1:59:36 PM
sql server mseq: I have the following syntax
Sum([SalesQty1]+[SalesQty2]+[SalesQty3]+[SalesQty4]+[SalesQty5]+[SalesQty6]+[SalesQty7]+[SalesQty8]+[SalesQty9]+[SalesQty10]+[SalesQty11]+[SalesQty12])
AS YrSales

This works fine if none of the fields are NULL

How can I cater for the scenario where anyone of the fields could be null?

Thanks


Re: Help with Query and Null Ali
3/22/2005 4:29:32 PM
found it eventually - isnull
[quoted text, click to view]

AddThis Social Bookmark Button