Oracle
1Z0-909 · Question #24
1Z0-909 Question #24: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-909 to reveal the answer and full explanation for question #24. The question stem and answer options stay visible for context.
Triggers and Events
Question
Examine these commands which execute successfully: mYsql> CREATE TABLE income (acct_num INT, amount DECIMAL(10,2)); mysql> CREATE TRIGGER subtotal BEFORE INSERT ON income FOR EACH ROW SET @subtotal = :ubtotal + NEW.amount; Which is true for the income table?
Options
- AThe trigger activates after any row has been inserted into the table.
- BThe trigger body set causes trigger activation.
- CThe trigger activates after any row in the table has been updated.
- DExecution of an insert statement causes the trigger to activate.
Unlock 1Z0-909 to see the answer
You've previewed enough free 1Z0-909 questions. Unlock 1Z0-909 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#trigger activation#BEFORE INSERT#event timing#DML events