exam questions

Exam 1z0-149 All Questions

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

Exam 1z0-149 topic 1 question 12 discussion

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

Examine this table in the SH schema:

User SH executes this code:

The program must terminate with a user-defined message and no rows displayed if more than one product's price is 1000.
With which option must “---placeholder” be replaced?

  • A.
  • B.
  • C.
  • D.
  • E.
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
2708b98
1 month, 3 weeks ago
I think C is correct. If the exception is raised then the DBMS line is not executed at all
upvoted 1 times
...
jm9999
1 year, 5 months ago
I think C is wrong because that second dbms_output.put_line will execute and will constitute 'a row displayed'.
upvoted 3 times
...
jfc1
1 year, 6 months ago
Selected Answer: A
A is correct
upvoted 2 times
...
abdullah_barham
1 year, 9 months ago
The answer should be A+C
upvoted 4 times
Viz_99
3 months, 2 weeks ago
C is wrong, After exception , the code ends , so the DBMS line wont execute.
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