You are on page 1of 1

select 'alter '||object_type||' '||object_name||' compile;' from user_objects

where status='INVALID' order by object_type,object_name;

You might also like