2026-03-12 20:23:15
This commit is contained in:
18
timhall/monitoring/user_system_privs.sql
Normal file
18
timhall/monitoring/user_system_privs.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/user_system_privs.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Displays system privileges granted to a specified user.
|
||||
-- Requirements : Access to the DBA views.
|
||||
-- Call Syntax : @user_system_privs (user-name)
|
||||
-- Last Modified: 27/07/2005
|
||||
-- -----------------------------------------------------------------------------------
|
||||
SET LINESIZE 200 VERIFY OFF
|
||||
|
||||
SELECT grantee,
|
||||
privilege,
|
||||
admin_option
|
||||
FROM dba_sys_privs
|
||||
WHERE grantee = UPPER('&1')
|
||||
ORDER BY grantee, privilege;
|
||||
|
||||
SET VERIFY ON
|
||||
Reference in New Issue
Block a user