Search code examples
oracle-databasejobsdatabase-table

Searching for a specific JOB by the procedure it calls


Is it possible to search a JOB by the code it executes? I.E. I want to find the JOB that launches a certain stored procedure.

Is there a query to do it?

enter image description here


Solution

  • Try using the all_dependencies view.

    select * from all_dependencies where referenced_name = 'YOUR_STORED_PROC';