Select Sum((isnull(cast(Quantity as float),0))) from table1 Select Sum((isnull(cast(Quantity as float),0))) from table2
select (select Sum(isnull(cast(Quantity as float),0)) from table1) + (select Sum(isnull(cast(Quantity as float),0)) from table2)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)