The dbms_metadata.get_granted_ddl Does Not Extract all System Privileges
Last updated on DECEMBER 07, 2016
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.3 to 188.8.131.52.0 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 07-Dec-2016***
During extract of the DDL of all system privileges as granted to a user not all privileges are shown. Privileges granted through specific plsql packages do not show up.
Method used to extract the privileges:
connect / as sysdba
set long 1000000
set pagesize 9999
select DBMS_METADATA.GET_GRANTED_DDL('SYSTEM_GRANT',upper('&user')) as Privs from dual;
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms