Oracle
1Z0-144 · Question #73
Examine the following PL/SQL code: The server output is on for the session. Which statement is true about the execution of the code?
The correct answer is B. It produces the ora-01403: no data found error if no employee with employee_id 123 exists. See the full explanation below for the reasoning.
Question
Examine the following PL/SQL code:
The server output is on for the session. Which statement is true about the execution of the code?
Exhibit
Options
- AIt displays null if no employee with employee_id 123 exists.
- BIt produces the ora-01403: no data found error if no employee with employee_id 123 exists.
- CIt displays an error because the select into clause cannot be used to populate the PL/SQL record
- DThe code executes successfully even if no employee with employee_id 123 exists and displays
How the community answered
(32 responses)- A9% (3)
- B84% (27)
- C3% (1)
- D3% (1)
Community Discussion
No community discussion yet for this question.
