cleaning up grants and privileges
Does anyone have a script that they'd be willing to share that would list out grants made to a user that are also made to that user through a role?
For example,
ROLE1 has select on tablea and tableb.
USERA has been granted ROLE1 as well as select on tableb.
I'd like to be able to revoke the direct grant of the select on tableb.
Thanks in advance,
Susan