exam questions

Exam 1z0-144 All Questions

View all questions & answers for the 1z0-144 exam

Exam 1z0-144 topic 1 question 8 discussion

Actual exam question from Oracle's 1z0-144
Question #: 8
Topic #: 1
[All 1z0-144 Questions]

View the Exhibit and examine the structure of the customer table.

Examine the following trigger code:

What is the outcome when the above trigger is compiled?

  • A. It compiles successfully.
  • B. It gives an error because the when condition is not valid.
  • C. It gives an error because when cannot be used for row-level triggers.
  • D. It gives an error because the statements under updating are not valid.
  • E. It gives an error because the new qualifier in the when clause requires a colon prefix.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
peguynya
Highly Voted 4 years, 8 months ago
A should be the correct answer if we just correct the WHEN clause by writting: WHEN(NEW.NAME_OF_THE_ATTRIBUTE).
upvoted 6 times
...
2339ac0
Most Recent 3 weeks, 3 days ago
Selected Answer: B
Also there is error as mentioned in option D.
upvoted 1 times
...
peguynya
4 years, 7 months ago
The correct answer is the B
upvoted 1 times
Naveen_2022
2 years, 9 months ago
Its just a typo in this question. Correct answer is 'A' as per exam point of view.
upvoted 1 times
...
...
nadzeya_bdc
4 years, 9 months ago
Semicolon is missing before END IF.
upvoted 2 times
...
nadzeya_bdc
4 years, 9 months ago
I suppose comma is missing before END IF. Is it correct?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago