What Roles give SHOWPLAN permission?

Nick Ryan 261 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 | SQL Server Transact-SQL
0 comments No comments
{count} votes

1 answer

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.