recompiling objects [message #538407] |
Thu, 05 January 2012 15:17 |
|
lynndba
Messages: 23 Registered: November 2011
|
Junior Member |
|
|
Hi all i just did export and import of a schema into another database, i have some errors with some objects in other words they have to be recompiled.
What is the easiest way to go about. Pressed for time.
Thanks
|
|
|
Re: recompiling objects [message #538408 is a reply to message #538407] |
Thu, 05 January 2012 15:22 |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
If they are truly broken, you must go into each one and find out why.
Otherwise, if they are only INVALID because of objects not existing at the time of import, etc., you do not have to do anything as they will compile on their first execution.
|
|
|
|
|
Re: recompiling objects [message #538445 is a reply to message #538409] |
Fri, 06 January 2012 01:34 |
|
Michel Cadot
Messages: 68728 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
You can use utlrp.sql script or UTL_RECOMP package to recompile all objects and see if some are not recompilable.
Regards
Michel
|
|
|