How to call a stored procedure inside a trigger? Give an
example.



How to call a stored procedure inside a trigger? Give an example...

Answer / 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

More Oracle General Interview Questions

Is postgres faster than oracle?

0 Answers  


What is Database Buffers ?

1 Answers  


What is a tns service name?

0 Answers  


What is oracle open database communication (odbc)?

0 Answers  


Which of the following is not a database object TABLESPACE TABLE INDEX NONE

1 Answers  






How to synchronize 2 schema's objects?

0 Answers   Virtusa,


What is a select query statement in oracle?

0 Answers  


14. Display the item_cost and then round it to the nearest hundred, ten, unit, tenth and hundredth

1 Answers   Wipro,


What is oracle host variable?

0 Answers  


What is the effect of setting the 'RULE' for OPTIMIER_GOAL parameter of the ALTER SESSION Command ?

1 Answers  


What happens if recursive calls get out of control?

0 Answers  


what are the advantages of running a database in archive log mode?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)