1 select c.last_execution_time,c.execution_count,c.total_logical_reads, 2 c.total_logical_writes,c.total_elapsed_time,c.last_elapsed_time,q.[text] 3 from (select top 50 qs.* from sys.dm_exec_query_stats qs order by qs.total_worker_time desc) as c 4 cross apply sys.dm_exec_sql_text(plan_handle) as q order by c.total_worker_time desc 5 go