Can we use function inside a trigger

Is it possible to use function inside a trigger.

Questions by Nitin kumar

Showing Answers 1 - 6 of 6 Answers

Code
  1. CREATE OR REPLACE TRIGGER emp_trig

  2.   before INSERT ON emp

  3.   FOR each row

  4. --referencing old as old and new as new

  5. declare

  6.   i pls_integer;

  7. begin

  8.   emp_pro;

  9.   i := emp_func;

  10.   dbms_output.put_line(TRIGGER called AND FUNCTION returned  || i);

  11.  

  12. end;

  13.  



Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions