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:-)
↧