Compiling INVALID Objects [message #264562] |
Mon, 03 September 2007 14:19 |
Creems
Messages: 70 Registered: July 2007 Location: Johannesburg
|
Member |
|
|
I queried DBA_OBJECTS and found out that I have 105 INVALID
objects which i think is not good for my database.
Please how do I re-compile these objects and make them VALID?
Thanks and regards,
Cherish
|
|
|
|
|
|
Re: Compiling INVALID Objects [message #266402 is a reply to message #264562] |
Mon, 10 September 2007 14:31 |
Sanjay Bajracharya
Messages: 279 Registered: October 2001 Location: Florida
|
Senior Member |
|
|
try running utlrp.sql a couple of time.... every time, the number of INVALID objects may reduce as there may be some dependencies on the objects.
When the number is low (say 10 objects are invalid, then compile them indivually. If the object DOES NOT compile, then see the error. May be the object cannot compile at all ... meaning that the code is bad.
--
Sanjay B.
|
|
|