How to resolve the users “disabled” issue?
First of all, let’s clarify this up front! There’s no such thing as disabling and enabling users in SQL Server. If you keep on communicating to other professional SQL Server DBAs that you wish to...
View ArticleHow to find all database users and their role membership?
You need to generate security reports to retrieve the database users and their role memberships for SOX or other auditing reports requirements or for security troubleshooting purposes. SQL Server has a...
View ArticleHow to find all logins and their server role memberships?
Have you ever wished to know or have you ever been requested to create a report to show what logins belong to what server roles? While sys.server_role_members alone can produce the logins and server...
View ArticleHow to List the Server Roles for the Logins in a Row Separated by a Delimiter?
You have met the challenge to create the report to show all the logins and their corresponding servers roles. Now, some very wise people with pay grades much higher than yours have requested that you...
View ArticleHow to List the Login’s Databases Access and Database Role(s) on One Row?
Challenge: A SQL Server login has access to 3 databases. The database users will be the same as the login. You have been requested to list the login’s database access on the instance and the role(s)...
View Article
More Pages to Explore .....