Adrian Hills 8/12/2014

dm_exec_query_plan returning NULL query plan

Read Original

This technical article details a troubleshooting scenario where SQL Server's dm_exec_query_plan returns a NULL query plan for a cached stored procedure. It investigates the cause, linking it to conditional branches containing temporary tables that aren't executed, and contrasts the behavior with table variables. The post includes a reproducible example and references community discussions.

dm_exec_query_plan returning NULL query plan

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week