after upgrading, there are many invalid objects in database.
Does anyone have a script to compile there?
Thanks!
Printable View
after upgrading, there are many invalid objects in database.
Does anyone have a script to compile there?
Thanks!
$oracle_home\rdbms\admin\utlrp.sql
Thanks for the help!
After I submit utlrp.sql, I got 'statement process' message right after it. Does that mean the script finished running in the database? I am suspicious about it!
Just check your objects to see if they are valid now.
That would double-check that it worked.
Also, it can say: statement processed, but if you do not have "set serveroutput on" then you will not see what errors are evident.
- magnus
ps: sometimes it takes a few compiles to compile everything since some objects need to be compiled in a specific order.