When is the recompilation of a dependent procedure or function successful?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
When is the recompilation of a dependent procedure or function successful?
Rating:
If the definition of a referenced table is altered, the dependent procedures and functions become invalid. The dependent procedures and functions need implicit or explicit recompilation in order to become valid.
The recompilation of a dependent procedure or function is successful in the following cases:
When a private table is referenced by a dependent procedure, and the private table is dropped, the status of the dependent procedure becomes invalid. When the procedure is recompiled, either explicitly or implicitly, and a public table having the same name and structure exists, the procedure recompiles successfully but becomes dependent on the public table. The recompilation is successful only if the public table contains the columns that the procedure requires; otherwise, the status of the procedure remains invalid.
Rating:
Was this information helpful?
Other articles
- What are the different subprograms provided with the DBMS_JOB Oracle supplied package?
- What are OLD and NEW qualifiers?
- What is DBMS_JOB Oracle supplied package?
- What is local dependency?
- What are the locations within a SQL statement from where user-defined functions can be called?