2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
-- -----------------------------------------------------------------------------------
-- File Name : https://oracle-base.com/dba/monitoring/object_privs.sql
-- Author : Tim Hall
-- Description : Displays object privileges on a specified object.
-- Requirements : Access to the DBA views.
-- Call Syntax : @object_privs (owner) (object-name)
-- Last Modified: 27/07/2005
-- -----------------------------------------------------------------------------------
SET LINESIZE 200 VERIFY OFF
COLUMN owner FORMAT A30
COLUMN object_name FORMAT A30
COLUMN grantor FORMAT A30
COLUMN grantee FORMAT A30
SELECT owner,
table_name AS object_name,
grantor,
grantee,
privilege,
grantable,
hierarchy
FROM dba_tab_privs
WHERE owner = UPPER('&1')
AND table_name = UPPER('&2')
ORDER BY 1,2,3,4;
SET VERIFY ON