Trigger Body

We have a trigger on database. In the trigger body we have created a body using dbms_output.put_line(********) ;
How to fire this ?

Questions by jkverma29

Showing Answers 1 - 3 of 3 Answers

ushaudayam

  • Aug 22nd, 2008
 

Trigger is a pl/sql block that is automatically invoked on an event, when any DML command is used on corresponding table.
Triggers are classified into different categories based on when they are to be fired and where they are to be executed.

-Row level Triggers
   -Before Insert
   -Before Delete
   -Before Update
   -After Insert
   -After Delete
   -After Update
-Statement level Triggers
   -Before Insert
   -Before Delete
   -Before Update
   -After Insert
   -After Delete
   -After Update

Depending on the requirement we can fire the trigger when ever we want the pl/sql block to be executed

  Was this answer useful?  Yes

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