2026-03-12 20:23:15
This commit is contained in:
20
timhall/monitoring/roles.sql
Normal file
20
timhall/monitoring/roles.sql
Normal file
@@ -0,0 +1,20 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/roles.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Displays a list of all roles and privileges granted to the specified user.
|
||||
-- Requirements : Access to the USER views.
|
||||
-- Call Syntax : @roles
|
||||
-- Last Modified: 27/02/2018
|
||||
-- -----------------------------------------------------------------------------------
|
||||
SET SERVEROUTPUT ON
|
||||
SET VERIFY OFF
|
||||
|
||||
COLUMN role FORMAT A30
|
||||
|
||||
SELECT a.role,
|
||||
a.password_required,
|
||||
a.authentication_type
|
||||
FROM dba_roles a
|
||||
ORDER BY a.role;
|
||||
|
||||
SET VERIFY ON
|
||||
Reference in New Issue
Block a user