Applies To
Oracle Server - Enterprise Edition - Version: 8.0.4.0 to 9.2.0.1This problem can occur on any platform.
Goal
How to check the last recompile time of a procedure or a function?Fix
Check the last_ddl time of the user_objects view.select to_char(created,'hh:mi:ss'),to_char(LAST_DDL_TIME,'hh:mi:ss') from user_objects
where object_name = 'name of procedure';
Replace the string 'name of procedure' with the name of the procedure for which you want to know the last compile time.
The last_ddl_time will get updated once the procedure is recompiled using the alter procedure command.
