Re: Finding empty Role(s)
Date: Tue, 12 May 2020 13:36:41 -0400
Message-ID: <7cc01e27-31ac-1916-7ecc-307745422a5a_at_gmail.com>
select role from dba_roles
ROLE
On 5/12/20 10:13 AM, Lyall Barbour wrote:
minus
select granted_role from dba_role_privs;
DV_ACCTMGR
DV_OWNER
GLOBAL_AQ_USER_ROLE
Elapsed: 00:00:00.17
> Hello everyone,
> I'm either Googling the wrong keywords, or thinking about this too
> hard. I just revoked a ton of object privs from a non-prod database
> in preparation for doing a decommission of a specific schema in a
> large database for the Business. I'm now trying to find any Roles
> that are empty because of my revoking. Does anyone have a script to
> do this?
> TIA
> Lyall Barbour
> -- http://www.freelists.org/webpage/oracle-l
--
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 12 2020 - 19:36:41 CEST