Blog Archives

Query to get Invalid Objects in oracle apps

Below is the query to get Invalid Object in Oracle apps

 

select object_name, object_type, owner
from dba_objects o
where status = ‘INVALID’
order by
decode(o.owner,’SYS’,’01’,
‘SYSTEM’,’02’,
‘APPS’, ’06’,
‘APPS_MRC’, ’07’,
’03’),
decode(o.objecT_type,’PACKAGE BODY’,’10’,
‘VIEW’,’05’,
‘MATERIALIZED VIEW’,’06’,
‘SYNONYM’,’04’,
‘FUNCTION’,’07’,
‘PROCEDURE’,’07’,
‘PACKAGE’,’08’,
‘TABLE’,’02’,
’01’) ,
o.object_name ;

Design a site like this with WordPress.com
Get started