stevegray
4Penny.net
Points: 55409

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
4Penny.net
Version: All
Section: SQL Scripts
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3