select distinct owner from dba_objects, dba_users
where owner not in
('SYS','SYSTEM','MDSYS','CTXSYS',
'ORDSYS','ORDPLUGINS','AURORA$JIS$UTILITY$',
'ODM','ODM_MTR','OLAPDBA','OLAPSYS','MTSSYS',
'OSE$HTTP$ADMIN','OUTLN','LBACSYS',
'PUBLIC','DBSNMP','RMAN','WKSYS',
'WMSYS','XDB')
and owner = username
and account_status not like '%LOCKED';
Want to post your scripts here in this blog ? Email it to snojha@gmail.com. You will be rewarded for your scripts if selected by our experts.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment