Home Forums SQL Server 7,2000 T-SQL Find Affected Row Count from a Dynamic Query RE: Find Affected Row Count from a Dynamic Query
RyanRandall
SSChampion
Points: 13623
More actions
April 18, 2008 at 5:58 am
#804265
This might be simpler...
Replace this...
EXEC @rowcount = sp_executesql @strSql
with this...
EXEC sp_executesql @strSql
set @rowcount = @@RowCount
Ryan Randall
Solutions are easy. Understanding the problem, now, that's the hard part.
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy