Programming language used to interact with SQL Server databases
Take a look at this blog post from Sebastian Meine: https://sqlity.net/en/2584/script-database-permissions/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi everyone,
Please how can I use TSQL to get the list of all users detailed permissions and privileges on each database.
I want the query to return critieria like:
I need this information in a denormalized form if possible.
Thank you.
Programming language used to interact with SQL Server databases
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
Additional SQL Server features and topics not covered by specific categories
Take a look at this blog post from Sebastian Meine: https://sqlity.net/en/2584/script-database-permissions/
Hi @Anonymous
Try the upvoted answer in this similar thread: SQL Server query to find all permissions/access for all users in a database.
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".