Statistics Flashcards
1
Q
How do you get execute queries stats in T-SQL?
A
SELECT * FROM sys.dm_exec_query_stats
2
Q
How do you get execute queries TSQL text?
A
SELECT * FROM sys.dm_exec_sql_text (sql_handle)
3
Q
How do you get executed queries query plans?
A
SELECT * FROM sys.dm_exec_query_plan (plan_handle)
4
Q
A