SQL Server: A Different command to check Basic Security Audit

In this post, I am sharing basic command and default stored procedure to check basic SQL Server Security Audit.

Using this command DBA can check basic details related to roles and users of SQL Server.
Let me describe this,

Find the version of SQL Server:

Find the information of database files and locations:

Find all database logins:

Find the information about roles:

Find the database level principals:

Find the information about user permissions:

Anvesh Patel

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz