Home » RDBMS Server » Server Administration » What is the diff. between row and statement level trigger?
What is the diff. between row and statement level trigger? [message #369750] Wed, 04 October 2000 04:42 Go to next message
Antony Suresh
Messages: 9
Registered: October 2000
Junior Member
What is the diff. between row and statement level trigger?
Re: What is the diff. between row and statement level trigger? [message #369753 is a reply to message #369750] Wed, 04 October 2000 05:27 Go to previous messageGo to next message
Gs
Messages: 8
Registered: September 2000
Junior Member
As I understand ....

Statement Trigger : the trigger body (PL/SQL Block) executes once for the event (delete/ update/ insert)

Row Trigger : the trigger body execute once foe EACH ROW affected by the event

So if DML statement affects a single row, the statement/ row trigger fire exactly one, but if many row affects, and statement trigger fire only once, but the row trigger fire as per the rows affected.

Hope this will help.
help on creating a statement level trigger [message #370106 is a reply to message #369753] Fri, 15 December 2000 06:17 Go to previous message
Sameer Shinde
Messages: 1
Registered: December 2000
Junior Member
I would like to create a trigger that fires once for every single update that modifies more than 1 rows in a table.
Previous Topic: aggregate functions and zero values
Next Topic: BARRISTER
Goto Forum:
  


Current Time: Sun Dec 22 21:04:52 CST 2024