SELECT top 100 ST.text,*FROM sys.dm_exec_query_stats QSCROSS APPLY sys.dm_exec_sql_text(QS.sql_handle) STorder by last_execution_time desc