declare
lowerl number:= 1;
upperl number:= 3;
num varchar2(10);
begin
for i into lowerl..upperl
loop
num:=num||to_char(lowerl);
if i=3 then upperl:=5;
end loop;
message(num);
What will be the output ?

Answer Posted / kotesh

result is 11111

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is sql database stored?

506


What are different types of statements supported by sql?

594


what is oltp (online transaction processing)? : Sql dba

523


What is structural independence and why is it important?

537


Why do we use sql constraints? Which constraints we can use while creating database in sql?

535






what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba

538


What is sql comments?

642


How to avoid duplicate records in a query?

569


What is a subquery in sql?

495


What is synchronized subquery?

583


Which join is default?

509


Is drop table faster than truncate?

542


How do I run a pl sql procedure in sql developer?

501


How do I turn a list into a table?

495


what is a composite primary key ? : Sql dba

569