Home »
PL/SQL MCQs
Which of the following is TRUE while using PL/SQL Exit Loop?
46. Which of the following is TRUE while using PL/SQL Exit Loop?
- The loop body should be initialized with a variable
- Variables in the loop are incremented.
- When you are ready to exit the loop, you should use the EXIT WHEN statement.
- All of the above
Answer: D) All of the above
Explanation:
While using PL/SQL Exit Loop –
- The loop body should be initialized with a variable
- Variables in the loop are incremented.
- When you are ready to exit the loop, you should use the EXIT WHEN statement.