oracle step procedure code example
Example: oracle step procedure
-- Get procedure starded by a chain step
SELECT s.OWNER, S.CHAIN_NAME, s.STEP_NAME, p.PROGRAM_ACTION
FROM DBA_SCHEDULER_CHAIN_STEPS s
LEFT JOIN DBA_SCHEDULER_PROGRAMS p ON s.PROGRAM_NAME = p.PROGRAM_NAME
WHERE s.STEP_NAME ='MY_STEP';