Oracle
1Z0-144 · Question #76
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 A. The code executes successfully and gives the desired output. 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
- AThe code executes successfully and gives the desired output.
- BThe code generates an error because the EMP_RECORD variable is not declared.
- CThe code generates an error because the cursor is not opened before the FOR loop.
- DThe code generates an error because the loop does not have the exit when clause.
How the community answered
(24 responses)- A79% (19)
- B13% (3)
- C4% (1)
- D4% (1)
Community Discussion
No community discussion yet for this question.
