Listing Locked Tables in SQL Server
Hello to everyone, In this article, I will try to give information about listing locked tables in SQL Server. In SQL Server you may want to list locked tables in some cases. You can easily do this using the code below. SELECT STR(request_session_id, 4, 0) AS spid, CONVERT(VARCHAR(12), DB_NAME(resource_database_id)) AS...