answersLogoWhite

0


Best Answer

The FOR EACH ROW option determines whether the trigger is a row trigger or a statement trigger. If you specify FOR EACH ROW, then the trigger fires once for each row of the table that is affected by the triggering statement. The absence of the FOR EACH ROW option indicates that the trigger fires only once for each applicable statement, but not separately for each row affected by the statement.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

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

Difference row level and statement level triggers?

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


What is the trigger?

A trigger is nothing but a database event. It is implicitly evoked whenever a database event like insert, update, delete, shutdown, etc occurs. There are 12 different types of database triggers. They are combintion of the following 1. after, before 2. insert, update, delete 3. row, statement i.e. 2*3*2 = 12 types of database triggers There is an 'instead of' triggers for views.


What is the chemical which is primarily responsible for the incentive to breathe?

The level of Carbon Dioxide in the blood triggers this desire (NOT the level of Oxygen).


Do you row the boats there is that a statement?

These words are probably written as "Do you row the boats there?"with a question mark at the end, so it is a question asking if you row the boats at a certain place, rather than a statement or assertion. You would recognise this when it was spoken because the person saying the sentence would raise their voice slightly when he or she said "there?".


Which lock type is initially acquired when you use the SELECT ... FOR UPDATE statement?

"row- exclusive


How far do they row?

I don't know who you mean by they but the distance that Olympians row is 2000m or 2kms At a lower level you can row either 1000m, 1500m or 2000m


How do you beat snappers level 1-36?

Column 3 row 4,column 3 row 2, column 4 row 2,


What or who determines the level of eoc?

c. established triggers identified in the installation cemp 10-2


Who or what determines the level of eoc activation?

Established triggers identified in the installation CEMP 10-2


What is a Trigger in MySQL Define different types of Trigger?

A trigger is a named database object that is associated with a table, and that activates when a particular event occurs for the table. Some uses for triggers are to perform checks of values to be inserted into a table or to perform calculations on values involved in an update. A trigger is associated with a table and is defined to activate when an INSERT,DELETE, or UPDATE statement for the table executes. A trigger can be set to activate either before or after the triggering statement. For example, you can have a trigger activate before each row that is deleted from a table or after each row that is updated. Sender : Yugant khokhar


What level does spea row evolve on soul silver?

20


How the program statement and code are related?

A statement in your program is part of the code. In a low-level programming language, a statement will map directly to a single CPU instruction. In a high-level programming language, a statement is the smallest element of the language's syntax.