Oracle
1Z0-144 · Question #114
Examine the trigger heading: CREATE OR REPLACE TRIGGER salary_check BEFORE UPDATE OF sal, job ON emp FOR EACH ROW Under which condition does this trigger fire?
The correct answer is B. when the value of the SAL or JOB column in a row is updated in the EMP table. See the full explanation below for the reasoning.
Question
Examine the trigger heading: CREATE OR REPLACE TRIGGER salary_check BEFORE UPDATE OF sal, job ON emp FOR EACH ROW Under which condition does this trigger fire?
Options
- Awhen a row is inserted into the EMP table
- Bwhen the value of the SAL or JOB column in a row is updated in the EMP table
- Cwhen any column other than the SAL and JOB columns in a row are updated in the EMP table
- Donly when both values of the SAL and JOB columns in a row are updated together in the EMP table
How the community answered
(21 responses)- B81% (17)
- C5% (1)
- D14% (3)
Community Discussion
No community discussion yet for this question.