/* Re-compiling PL/SQL Objects */

SET heading OFF;
SET feedback OFF;
SET echo OFF;
SET lines 999;

SPOOL run_invalid.sql

SELECT ‚ALTER ‚ || OBJECT_TYPE || ‚ ‚ || OWNER || ‚.‘ || OBJECT_NAME || ‚ COMPILE;‘
FROM ALL_OBJECTS
WHERE STATUS = ‚INVALID‘
AND OWNER = USER
AND OBJECT_TYPE IN (‚PACKAGE‘, ‚FUNCTION‘, ‚PROCEDURE‘, ‚VIEW‘);

SPOOL OFF;

SET heading ON;
SET feedback ON;
SET echo ON;

@run_invalid.sql

Share this content:

Comments are closed

Recent Location

Warning: Undefined array key "deep_link" in /home/httpd/vhosts/weitertragen.ch/blog.lieuwen.com/wp-content/plugins/integrate-polarsteps/includes/class-polarsteps-integration-widget.php on line 56 Warning: Undefined array key "location_name" in /home/httpd/vhosts/weitertragen.ch/blog.lieuwen.com/wp-content/plugins/integrate-polarsteps/includes/class-polarsteps-integration-widget.php on line 60 Warning: Undefined array key "deep_link" in /home/httpd/vhosts/weitertragen.ch/blog.lieuwen.com/wp-content/plugins/integrate-polarsteps/includes/class-polarsteps-integration-widget.php on line 62
Warning: Undefined array key "start_time" in /home/httpd/vhosts/weitertragen.ch/blog.lieuwen.com/wp-content/plugins/integrate-polarsteps/includes/class-polarsteps-integration-widget.php on line 77