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:
SELECT * FROM sys.syslogins
Find the information about roles:
Find the database level principals:
Find the information about user permissions:
Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.
If you like this post, then please share it with others.
Please follow dbrnd.com, I will share my experience towards the success of Database Research and Development Activity.
I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.