Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Priviledges on table from other schema

SELECT PRIVILEGE
FROM ALL_TAB_PRIVS_RECD
WHERE PRIVILEGE = 'SELECT'
AND TABLE_NAME = 'GN_VERSION'
AND OWNER = 'USER_A'
UNION ALL
SELECT PRIVILEGE
FROM SESSION_PRIVS
WHERE PRIVILEGE = 'SELECT ANY TABLE';
Source by dba.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #Priviledges #table #schema
ADD COMMENT
Topic
Name
1+1 =