How to call a stored procedure inside a trigger? Give an
example.
Answer Posted / pardeep
Using Call keyword we can call procedure inside trigger.
e.g.
CREATE OR REPLACE TRIGGER foo
BEFORE DELETE OR INSERT OR UPDATE ON <<table_name>>
FOR EACH ROW
BEGIN
CALL PROCEDURE_NAME();
END;
/
| Is This Answer Correct ? | 16 Yes | 5 No |
Post New Answer View All Answers
How to loop through a cursor variable?
Is oracle a programming language?
What is using clause and give example?
11. Display the client number and name and the client number and name of the person who referred that client.
What is Reduced List of Values?
What is a trigger oracle?
What is MTTR advisor in Oracle?
Differentiate between function and procedure in oracle.
What is index in Oracle?
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
Can we store pictures in the database and if so, how it can be done?
Difference between the “verify” and “feedback” command?
Can u please explain me the Discussion on Except ,using cast like type cast. Question in the context of difference between two tables
Explain the types of exception?
Can we use bind variables in oracle stored procedure?