Consider The Plsql Code Below And Select The Appropriate #510
Consider the PL/SQL code below and select the appropriate output.</p> <pre><code class="language-sql">DECLARE n number(3) := 100; BEGIN n:= 100; IF( n < 50 ) THEN dbms_output.put_line('n is less than 50 ' ); ELSE dbms.output.put_line(‘n is greater than 50’); END IF; dbms_output.put_line('value of n is : ' || n); END; /</code></pre>
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 Constants and Operators - PL/SQL Conditions - Quiz No.1.
Consider the PL/SQL code below and select the appropriate output.
DECLARE n number(3) := 100; BEGIN n:= 100; IF( n < 50 ) THEN dbms_output.put_line('n is less than 50 ' ); ELSE dbms.output.put_line(‘n is greater than 50’); END IF; dbms_output.put_line('value of n is : ' || n); END; /
n is less than 50 n is greater than 50n is greater than 50 value of n is : 100 PL/SQL procedure successfully completed.value of n is : 100 PL/SQL procedure successfully completed.n is less than 50 value of n is : 100