exam questions

Exam 1z0-144 All Questions

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

Exam 1z0-144 topic 1 question 3 discussion

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

View the exhibit and examine the structure of the products table.

Examine the following code:

Which statement is true when the procedure DELETE_DETAILS is invoked?

  • A. It executes successfully but no error messages get recorded in the DEBUG_OUTPUT table
  • B. It executes successfully and any error messages get recorded in the DEBUG_OUTPUT table.
  • C. It gives an error because PRAGMA AUTONOMOUS_TRANSACTION can be used only in packaged procedures.
  • D. It gives an error because procedures containing PRAGMA AUTONOMOUS_TRANSACTION cannot be called from the exception section.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
In this case, the debug output will only occur if there is an exception.

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
pmeyer
1 year, 8 months ago
Selected Answer: A
"A" is the correct answer!
upvoted 1 times
...
vobla
2 years, 6 months ago
Could be B as well. BEFORE trigger can raise an exception in which case the debugging method will be called.
upvoted 2 times
...
Anubhav244
4 years ago
The answer is correct. Explanation : Till the time a number value is passed to the procedure, it will not error out as if the row gets deleted it executes successfully. Even if the row is not deleted it is the case of '0 rows' deleted and still the procedure will execute successfully.
upvoted 4 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