3 - OpenTransaction
3 - OpenTransaction
sp_who, sp_who2 and sp_whoisactive are stored procedures that allow you to view
current users, sessions, and processes within a SQL Server instance.
You’d want to see this for identifying things like blocking or checking general
activity.
SELECT *
FROM @Table
WHERE blkby =' .'