SELECT SUM(value) AS Totalos.... Case When SUM(Values) > 0 then 0 Else SUM(Values) end - Select SUM(value2) as test from anothertable...
========================================== Cursors are useful if you don't know sql. SSIS can be used in a similar way. Beer is not cold and it isn't fizzy.
SELECT SUM(value) AS Totalos.... Case When SUM(Values) > 0 then 0 Else SUM(Values) end - Select SUM(value2) as test from anothertable...
========================================== Cursors are useful if you don't know sql. SSIS can be used in a similar way. Beer is not cold and it isn't fizzy.