We need to find expensive queries along with "Program_name" it's belong. We can easily find expensive queries using DMVs (sys.dm_exec_query_stats, sys.dm_exec_sql_text) but I am not able to link it with "Program_name" they belong, where as I have setup Data Collection and there I can see Program_name(see in green color), please help me to find the "Program_Name" without setup the Data Collection as it add load to the server.[img]https://dl.dropboxusercontent.com/u/27903754/Data%20Collection%20.jpg[/img]
↧