About 656,000 results
Open links in new tab
  1. How do I obtain a Query Execution Plan in SQL Server?

    to save the plan to a file in XML format. Method 2 - Using SHOWPLAN options This method is very similar to method 1 (in fact this is what SQL Server Management Studio does internally), however I …

  2. What are SHOWPLAN permission security risks? (MS SQL Server)

    Feb 8, 2018 · Are there any alternatives to SHOWPLAN when optimizing queries and query run time? What about sys.sql_expression_dependencies, also a related View Server State permission, correct?

  3. sql server - How can I display the execution plan for a stored ...

    Apr 27, 2017 · Select the storedprocedure name (just type it in a query window), right click, and choose the 'Display Estimated Execution Plan' button in the toolbar of SQl Server Mgmt Studio. Note that …

  4. What are the implications of the SHOWPLAN permission on SQL Server …

    A user wants the SHOWPLAN permission in order to use Execution Plans to tune a query. What are the implications of this permission. Is it safe to grant a user? I've seen the security note here, an...

  5. sql server 2014 - Who has SHOWPLAN permissions on a database

    Jan 8, 2019 · You asked "in a database", so setting aside sysadmins and people who have been granted permission at the server level, you can see people who were granted or denied that …

  6. sql - Does SHOWPLAN permission allow users to view plans by other …

    Jan 19, 2021 · The SHOWPLAN permission enables a user to view the execution plan for their own queries. To view plans and queries from other users (IE view the plan cache via …

  7. SQL Server error - The SET SHOWPLAN statements must be the only ...

    Oct 21, 2022 · I am trying to generate a showplan table in SQL Server. I am getting this error when I try to do this Msg 1067, Level 15, State 1, Line 0 The SET SHOWPLAN statements ...

  8. Interpreting SQL Server's Showplan XML

    However, if you look at the execution plan output for SQL Server (generated with SET SHOWPLAN_XML ON), there is a simply massive amount of XML to wade through, even for …

  9. SHOWPLAN permission denied in database 'tempdb'. in sql server 2008

    Sep 9, 2016 · SHOWPLAN permission denied in database 'tempdb'. in sql server 2008 Asked 11 years, 4 months ago Modified 2 years, 4 months ago Viewed 50k times

  10. Easiest way to GRANT SHOWPLAN in Azure SQL

    Nov 8, 2024 · So not an expert on Azure Portal, I mostly still connect with SSMS to these resources using EntraID etc. I have a need to grant a single user SHOWPLAN perms on a single database. …