DBA Hub

📋Steps in this guide1/1

Find queries triggered from a procedure

-- Below script will provide the dependent queries getting triggered from a procedure.

oracle configurationintermediate
by OracleDba
13 views
1

Find queries triggered from a procedure

Code/Command (click line numbers to comment):

1
2
3
4
-- Below script will provide the dependent queries getting triggered from a procedure.
SELECT s.sql_id, s.sql_text
FROM gv$sqlarea s JOIN dba_objects o ON s.program_id = o.object_id
and o.object_name = '&procedure_name';

Comments (0)

Please to add comments

No comments yet. Be the first to comment!