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 2005 Forums
 Transact-SQL (2005)
 select * from sys.dm_exec_query_stats

Author  Topic 

mike123
Master Smack Fu Yak Hacker

1462 Posts

Posted - 2009-01-08 : 06:26:51

Hi,

I just discoved this while doing some reading. This is something that I have been looking for all along , but didn't know existed.

I'm very happy to discover this, and am really looking forward to finding some rogue queries. I am wondering how I relate the objectID to the actually stored procedure ?

Any help much appreciated!

Thanks again,
mike123

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-08 : 06:34:43
Join it to sys.objects or even better use OBJECT_NAME function.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -