Here is a piece of code!!!!
What does it do?
It compiles all objects by the specified user or Schema. It is the easiest method to compile all objects for a schema.
set serveroutput on
begin
dbms_utility.compile_schema('SUSIL');
end;
/
Select *
from all_objects
where last_ddl_time > sysdate-1;
What does it do?
It compiles all objects by the specified user or Schema. It is the easiest method to compile all objects for a schema.
set serveroutput on
begin
dbms_utility.compile_schema('SUSIL');
end;
/
Select *
from all_objects
where last_ddl_time > sysdate-1;
Comments