select * from dba_source as of timestamp TO_TIMESTAMP('2021-01-25 11:30:00', 'YYYY-MM-DD HH24:MI:SS') where TYPE = 'PROCEDURE' and owner = 'USERNAME' and name = 'PROCEDURE_NAME';