Q
Problem solve Get help with specific problems with your technologies, process and projects.

Objects suddenly invalid

All my objects (procedures and packages) have become invalid suddenly. What could be the reason? I tried compiling one by one, and while compiling one package all compiled packages also became invalid.

All my objects (procedures and packages) have become invalid suddenly. What could be the reason? I tried compiling one by one, and while compiling one package all compiled packages also became invalid.
If there are dependencies between objects, which can be verified with the DBA_DEPENDENCIES view, then when a base object becomes invalid, it will make any objects dependent on it invalid as well. This can cascade up the chain until many objects are invalid. To recompile all of these quickly and easily, sign on as SYS or SYSTEM and run the $ORACLE_HOME/rdbms/admin/utlrp.sql supplied script.

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close