renee35
MIS
- Jan 30, 2007
- 199
Could someone help me incorporate into this formula not to pick up any values that are negative (if c.column1 is a negative number I want it to show 0):
SELECT isnull(sum(isnull(c.column1,0)),0)
from table a (READCOMMITTED)
LEFT OUTER JOIN table b (READCOMMITTED)
ON b.column = a.column
LEFT OUTER JOIN tablex c (READCOMMITTED)
ON c.column = a.column
Thanks a bunch!!
-T
SELECT isnull(sum(isnull(c.column1,0)),0)
from table a (READCOMMITTED)
LEFT OUTER JOIN table b (READCOMMITTED)
ON b.column = a.column
LEFT OUTER JOIN tablex c (READCOMMITTED)
ON c.column = a.column
Thanks a bunch!!
-T