DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
sgray128 10/19/2016 9:27:44 AM

SQL Security queries

* This article, and all our great SQL (Dynamics) documentation, Is available on the SQL (Dynamics) menu
Well, I'm on a security kick this morning. Another request came in from a SOX company asking for a query to tell what rights (specifically what ADMIN rights) are assigned to SQL users. There are two queries below that return this info, one for the SERVER SYSADMIN role and one for the DATABASE DB_OWNER role
Version: All
Section: SQL Scripts