PL/SQL |
|
Recompilation of invalid objectsHere is a puzzle! How to validate objects invalidated for any reason, taking any dipendency between database-objects into account. I developed a script you can download that solves this problem definitively. It's about a PL/SQL block that examines the result of the following query:
building a temporary tables that lists all invalid objects and respective dependencies; subsequently that list is accessed so that the objects will be compiled in the correct order: it's a recursive procedure that before recompile an objects verifies that any dependent object is valid, enentually calling itself with argument such an object... |
Ultimo aggiornamento: 10-12-2002. Copyright (c) 2000-2002 Matteo Vitturi.
|