Show Query Plan of a Running Query in SQL Server
SELECT QP.query_plan as [Query Plan],
ST.text AS [Query Text]
FROM sys.dm_exec_requests AS R
CROSS APPLY sys.dm_exec_query_plan(R.plan_handle) AS QP
CROSS APPLY sys.dm_exec_sql_text(R.plan_handle) ST;