spool priv_sys.rslt 

set linesize 80;
set pagesize 1000;
set long 50;
set echo on;

break on "GRANTEE";

/* ****************************************************** */
/*                                                        */
/*  - will show all the DBA roles privileges within a     */
/*    given database                                      */
/*                                                        */
/*         @c:\oracle\sql\priv_sys.sql                    */ 
/*                                                        */
/* ****************************************************** */

select grantee	"GRANTEE", 
       privilege,
       admin_option 
from dba_sys_privs 
order by 1, 2;

set echo off;
spool off;
set long 80;
commit;









