Hi, I would like to see execution details of stored procedure but the following not showing. Could you please suggest. I can see them using profiler/trace/extended events but is there way to see using DMVs?
SELECT TOP 10 st.text,qs.* FROM sys.dm_exec_query_stats AS qs with (nolock) outer APPLY sys.dm_exec_sql_text(qs.sql_handle) AS st --outer APPLY --sys.dm_exec_text_query_plan(qs.plan_handle,DEFAULT,DEFAULT) AS qp WHERE st.text like '%exec dbo.procedureName1%'