Question: What is the Difference Between sql_handle and plan_handle?
Answer: I was recently asked this question. Let us see the answer today.
Capturing the SQL Behind SSMS Reports With Extended Events
Capture the SQL behind SSMS reports with a filtered Extended Events ring buffer, inspect batch text, and remove the session afterward.
How to Decode @@OPTIONS Value? – Interview Question of the Week #268
How to decode @@OPTIONS value? Session-level SET options live in the @@options variable, and this script turns that number into readable settings.







