我想在 Oracle pl SQL 中运行一个查询,它会告诉我最近更新了哪些 SP。在 SQL Server 中是这样的:
select name, modify_date
from sys.procedures
order by modify_date desc
查询dba_objects
表:
SELECT object_name, last_ddl_time
FROM dba_objects
WHERE object_type = 'PROCEDURE'
ORDER BY last_ddl_time DESC
您是否尝试过此查询:
select * from user_objects
where object_type = 'PROCEDURE'
ORDER BY LAST_DDL_TIME DESC
您可能还想使用此表查看所有程序:all_objects