Skip to content
Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

Pinter Computing

Knowledge Base for IT Professionals, Teachers, and Astronauts

  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
  • Home
  • Programming
  • DevOps
  • Project Management
  • Software and Hardware
  • Miscellaneous
  • Egyebek
  • About
  • Experience
  • Education
  • Contact
Close

Search

Home/Knowledge Base/Find blocking queries in MSSQL
Knowledge Base

Find blocking queries in MSSQL

By Laszlo Pinter
June 29, 2020 1 Min Read
0

To find queries that block others in Microsoft SQL databases, execute

select session_id,command,wait_type,blocking_session_id from sys.dm_exec_requests;

This returns the list of active sessions and indicates what session blocked it.

To get the query of a session, execute

dbcc inputbuffer(THE_SESSION_ID)

Tags:

databaseDevOpsMSSQL
Author

Laszlo Pinter

Follow Me
Other Articles
Previous

MSSQL database migration to another database server

Next

Clear the browser cache for one site in Chrome

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Last Changes

  • Happy, the AI hardware robot - the touch - metal plate November 11, 2026
  • Happy, the AI hardware robot – the neck – servo motor November 11, 2026
  • Building Happy, the AI hardware robot November 11, 2026
  • Happy, the AI hardware robot - the ears - microphone November 11, 2026
  • Happy, the AI hardware robot – the mouth - amp and speaker November 11, 2026

Tags

.NET .NETcore 3Dprinting AI AWS C# Chef cloud DevOps Docker EntityFramework Games Git Go iOS iPad iPhone iPod Java Kubernetes Linux MacOSX MSSQL MVC MySql Node.js Packer PowerShell Python RDS Ruby security Splunk storage TeamCity Terraform TestKitchen Tomcat Ubuntu Vagrant VirtualBox VisualStudio Windows WordPress Xcode

Recent Comments

  • Laszlo Pinter on Turn off the built in touchpad when a mouse is attached
  • Kenneth Bush on Turn off the built in touchpad when a mouse is attached
  • Zengei László on MyHeritage családfa exportálása és küldése emailben
  • Raúl Castillo on DynDns update error
  • MICHAEL on Windows Media Player 12 cannot find the album information

–

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright 2026 — Pinter Computing. All rights reserved.