I want to use @@rowcount to track rows processed. But I have question if one statement is executed and taking long time, meanwhile if other query executed in other query window will it affect @@rowcount value of first one?
How @@rowcount will behave in this scenario?
Database: SQL Server