Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 SQL command statistics

Author  Topic 

Mondeo
Constraint Violating Yak Guru

287 Posts

Posted - 2012-01-28 : 17:56:31
Hi,

Is there any way to query an sql server for the amount of select/update/insert/delete queries that are happening in real time?

I'm trying to build a monitoring app similar to this (although the example is MySQL)

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-01-28 : 19:14:15
you can use dynamic management views for that

see
http://www.mssqltips.com/sqlservertip/1811/how-to-isolate-the-current-running-commands-in-sql-server/


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -