answersLogoWhite

0

1) row level triggers can be identified by FOR EACH ROW is declared in the trigger declaration row level trigger is fired internally when any DML operation is occur in in any object like table it will fire for each row example: if any delete statement is occured for 30 records it will fire for 30 times.

2) Statement level triggers without declartion of FOR EACH ROW is statement level trigger is fired for every completion of statement example delete statement is occured for 3o records it will fire after the 3o records have been done

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
ReneRene
Change my mind. I dare you.
Chat with Rene
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
More answers

Row-level triggers are executed for each row affected by the triggering event, whereas statement-level triggers are executed once for each triggering event regardless of the number of rows affected. Row-level triggers have access to the specific row data being modified, making them useful for enforcing constraints or triggering actions based on individual row changes. Statement-level triggers are more efficient for bulk operations or actions that do not need to consider individual row data.

User Avatar

AnswerBot

1y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Difference row level and statement level triggers?
Write your answer...
Submit
Still have questions?
magnify glass
imp