218

SQL Server: Get all running queries/processes on a database

SQL Server: Get all running queries/processes on a database

For this purpose one can just take following t-sql query

  
use master
go

select * from sysprocesses where dbid = DB_ID('your_database_name')
go

Comments (0)


This thread has been closed from taking new comments.