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

which is best institue to learn oracle 11i in ameerpet or maithrivanam or sr nagar please help

5 Answers  


In which dictionary table or view would you look to determine at which time a snapshot or MVIEW last successfully refreshed?

1 Answers  


What is the difference between post-database commit and post-form commit?

0 Answers  


What are the tools for Oracle ?

0 Answers   Infosys,


How to convert characters to numbers in oracle?

0 Answers  






What are the advantages of oracle 12c?

0 Answers  


what are the database links ?

2 Answers  


How to define a variable to match a table column data type?

0 Answers  


how to tune oracle sql queries pls tell me step by step. urgent pls

1 Answers  


What is the scope of a local variable?

0 Answers  


what is the maximum number of indexes i can create for a table? What happens if i create indexes for all the columns of a table? Will it slow down the speed of retrieval

2 Answers  


What is Partitions in Table ?

2 Answers   Atiric Software,


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)