WordTechinc
Programmer
- Sep 4, 2009
- 38
If [History count} is zero, [Final Count} should have [All count]. But [Final Count] value returns as zero. How to move [History count] into [Final Count]? This is part of SELECT within Store Procedure.
ISNULL(cast (([ALL count]-[History count]) as integer(18)),0) AS [Final Count]
ISNULL(cast (([ALL count]-[History count]) as integer(18)),0) AS [Final Count]