What Roles give SHOWPLAN permission?

Nick Ryan 216 Reputation points
2024-04-16T23:09:20.67+00:00

With certain server level or database level roles, you have SHOWPLAN permission. Is there a hierarchy list that would indicate all the permissions inherited by various roles?

I'm thinking of assigning ##MS_ServerStateReader## to our developer Login on the Production server and I'm hoping that as well as all those useful DMVs, the associated users will be able to request an actual execution plan.

At present that kind of access is given by adding the role DB_Owner which gives way more rights than is required for these users.

If not that server level role, is there any other that gives those permissions or do I need to set up a user-defined role?

Azure SQL Database
SQL Server Transact-SQL
SQL Server Transact-SQL
SQL Server: A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.Transact-SQL: A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
42 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Olaf Helper 40,816 Reputation points
    2024-04-17T04:51:36.88+00:00
    0 comments No comments