Viewing 3 posts - 1 through 3 (of 3 total)
One could use sp_msForEachDB builtin stored procedure. No cursor, no loop, and less chance to get into security issues.
February 19, 2019 at 6:52 pm
I had the same story with AVG. It was returning an average of the column values between the first and the current row.
June 3, 2016 at 5:14 am
Viewing 3 posts - 1 through 3 (of 3 total)