The following code fragment is a correct example of the use of a WHILE loop.
BEGIN
WHILE lv_cnt_num <= 5
DBMS_OUTPUT.PUT_LINE( lv_cnt_num );
lv_cnt_num := lv_cnt_num + 1;
END LOOP;
END;
Correct Answer:
Verified
Q6: The keyword DEFAULT can be used in
Q7: The only required sections of a PL/SQL
Q8: The CASE statement begins with the keyword
Q10: The syntax of the following code fragment
Q12: The term anonymous blocks refers to blocks
Q13: An infinite loop causes a program to
Q14: The EXIT WHEN clause ensures that a
Q15: The BEGIN section of a PL/SQL block
Q15: The BEGIN section of a PL/SQL block
Q16: Assignment statements are used to put or
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents