selectlpad(' ', 2*level) || granted_role "Roles, Privileges of USER(s)"from(/* THE USERS */selectnull grantee,username granted_rolefromdba_userswhereusername like upper('%&enter_username%')/* THE ROLES TO ROLES RELATIONS */unionselectgrantee,granted_rolefromdba_role_privs/* THE ROLES TO PRIVILEGE RELATIONS */unionselectgrantee,privilegefromdba_sys_privs)start with grantee is nullconnect by grantee = prior granted_role;
No comments:
Post a Comment