EXEC @rowcount = sp_executesql @strSql
EXEC sp_executesql @strSqlset @rowcount = @@RowCount
DECLARE @sSQL NVARCHAR(100), @rowcount INTSET @sSQL = 'select * from sysobjects'EXEC sp_executesql @sSQLSELECT @rowcount = @@ROWCOUNTPRINT '@rowcount = ' + CAST(@rowcount AS VARCHAR(4))
We walk in the dark places no others will enterWe stand on the bridge and no one may pass