ID 264242.1
This problem can occur on any platform.
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.
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.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/38267/viewspace-743197/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/38267/viewspace-743197/