About Us News Employment F.A.Q.
 
  Click here to Login !  
Home Remote Services Client Access Download Demo Contact Us
     
 
 
 
  White Papers
  UNIX
 
  Database Details
  License Information
  INIT.ORA Parameters
  Database File Information  
  Tablespace Information
  Tablespace Usage Report
  Table Fragmentation
  Invalid Objects
  SQL With Most Disk Reads
  Buffer Hit Ratio
  Library Cache Hit Ratio
  Data Dictionary Hit Ratio
 

Invalid Objects

select OWNER,
OBJECT_TYPE,
OBJECT_NAME,
STATUS
from dba_objects
where STATUS = 'INVALID'    
order by OWNER, OBJECT_TYPE, OBJECT_NAME;    
select 'alter '||object_type||' '||owner||'.'||object_name||' compile;'    
from dba_objects    
where status = 'INVALID'
and object_type != 'PACKAGE BODY'
UNION  
select 'alter package '||owner||'.'||object_name||' compile body;'
from dba_objects
where status = 'INVALID'
and object_type = 'PACKAGE BODY';
 
 
     
 
F.A.Q.      |      Terms & Conditions      |      Contact Us   ©2005 Dibon. All rights reserved.