Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to identify the procedure name which inserts into a table in TRIGGER

Sujana A-OracleOct 30 2014 — edited Oct 31 2014

Hi,
There are several procedures in my DB which perform INSERT operation on one main table say - MYTAB.

I have created a trigger on MYTAB table to closely track which procedure is inserting data in it. Is there a function which captures this object name?

For eg: PROC_A, PROC_B, PROC_C insert into MYTAB table. And my query is - the trigger on MYTAB table should capture these object names from where the rows are getting inserted.
Please let me know for any suggestions..

This post has been answered by Karthick2003 on Oct 31 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2014
Added on Oct 30 2014
9 comments
4,510 views