Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

How do I find long running queries in SQL server with process ID, Process name, login time, user, start time, and duration?

Asked by Dia Shrinidhi Jul 26, 2023 1.3K views 1 answer
Share

About this question

 Please help me to get the details for a long running query. ProcessID, process name, database, host, user, process login time, query start time and query duration. What is the method to get long running queries in sql server? I want a query or the SP that fetches me this data.

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.