Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

joining 'sys.dm_exec_query_stats' with other system tables.

$
0
0
Hi Experts,How can we relate the DMV 'sys.dm_exec_query_stats' to other sys tables like sys.objects or sys.databases so that I can atleast find the object id or the database id of the running queries, else I will have to search each and every database on the instanceI am using this DMV to check the most expensive query.Regards,Ashif Shaikh:-)

Viewing all articles
Browse latest Browse all 6525

Trending Articles