經安全檢測,此網站為安全網站,請放心前往原始網址!

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

網址安全性掃描由 google 提供