How to find locked tables and kill the session in Microsoft SQLServer?
Open SQL Server Management Studio (SSMS). Connect to the SQL Server instance. Open a new query window. Execute the following query to find the sessi...
Open SQL Server Management Studio (SSMS). Connect to the SQL Server instance. Open a new query window. Execute the following query to find the sessi...
You can retrieve the no of affected rows using the system variable - ‘@@ROWCOUNT’