SQLERRM returns current error message text - PL/SQL Errors

Q.  Which of the following returns the current error message text?
- Published on 19 Oct 15

a. SQLERRM
b. SQLCODE
c. Both A & B
d. None of the above

ANSWER: SQLERRM
 
Using this function the associated error message with the most recent raised error exception is displayed. The exception handling section will display this function.

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)