Saving Output from SET SHOWPLAN_ALL

  • Does anyone know of a way to save the result set from SHOWPLAN_ALL into a table?

    Thanks,

    Doug

  • Unfortunately you cannot do this directly in TSQL. However as was discussed in another thread you can create a job or executable to make a connection to the server and retrieve the output as well as insert that way into a table.

    "Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply