Oracle to recompile a stored procedure / function, etc.

If you first use PL / SQL Developer tool 
        to select the left tool bar "stored procedures" - "Select has failed procedure-" Right - "choose to re-compile to complete


the second command line version
1. Find invalid Object
SELECT 'Alter' object_type || || '' || || object_name 'the compile;' from USER_OBJECTS WHERE Status = 'INVALID';

2. recompile stored script to execute the following procedure pro_backup_call
alter procedure pro_backup_call compile;

Guess you like

Origin www.cnblogs.com/xibuhaohao/p/11345040.html