2026-03-12 20:23:15
This commit is contained in:
36
vdh/list_rls_policies.sql
Normal file
36
vdh/list_rls_policies.sql
Normal file
@@ -0,0 +1,36 @@
|
||||
-- list the row level security policies
|
||||
|
||||
set linesize 250
|
||||
set pages 50000
|
||||
|
||||
column object_owner format a30
|
||||
column object_name format a30
|
||||
column pf_owner format a30
|
||||
column function format a30
|
||||
column policy_name format a30
|
||||
column package format a30
|
||||
|
||||
select
|
||||
object_owner,
|
||||
object_name,
|
||||
policy_name,
|
||||
pf_owner,
|
||||
package,
|
||||
function,
|
||||
enable,
|
||||
sel,
|
||||
ins,
|
||||
upd,
|
||||
del,
|
||||
idx
|
||||
from
|
||||
dba_policies
|
||||
where
|
||||
object_owner not in
|
||||
( 'SYSTEM', 'XDB', 'MDSYS')
|
||||
order by
|
||||
object_owner,
|
||||
object_name,
|
||||
policy_name
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user