 |
MS SQL Server :: Putting SQL SELECT Sum() Into A Variable
Putting SQL SELECT Sum() Into A Variable I just want to get the sum of a table's column into a variable, in a stored procedure. The best I can do is SET @TotalBalance = SELECT SUM(Balance) FROM AccountDetails Not good enough, of course. View ...
www.bigresource.com |
 |