Just had this little snippet sent to me by a fellow SQL slinger. It uses an undocumented stored procedure to loop though your DBs and run an expression against each DB. Check out his example below which will return all user roles for each DB.
Just had this little snippet sent to me by a fellow SQL slinger. It uses an undocumented stored procedure to loop though your DBs and run an expression against each DB. Check out his example below which will return all user roles for each DB.