What Will Be The Output Of The Following Plsql Codep Pre #521

What will be the output of the following PL/SQL code?</p> <pre><code class="language-sql">DECLARE x number := 1; BEGIN LOOP dbms_output.put_line(x); x := x + 1; IF x > 3 THEN exit; END IF; END LOOP; dbms_output.put_line('After Exit x is: ' || x); END; /</code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs115 Structured Query Language. It can also be found in gs gs115 PL/SQL Loops, Strings and Arrays - PL/SQL Loops - Quiz No.1.

What will be the output of the following PL/SQL code?

DECLARE x number := 1; BEGIN LOOP dbms_output.put_line(x); x := x + 1; IF x > 3 THEN exit; END IF; END LOOP; dbms_output.put_line('After Exit x is: ' || x); END; /

Similar question(s) are as followings:



Online Quizzes of gs115 Structured Query Language

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background