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 / guest

result will be 111

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is pl sql different from sql?

538


What is natural join in sql?

540


What is denormalization in a database?

595


Which one is faster ienumerable or iqueryable?

491


How many commands are there in sql?

556






What is meant by user defined function?

590


How to use sql statements in pl/sql?

590


What are the subsets of sql?

554


Why we use pl sql?

535


How do you update a value in sql?

555


How can we avoid duplicating records in a query?

570


What are the types of optimization?

525


Can we edit a view in sql?

558


How to assign sql query results to pl sql variables?

517


Is it possible for a table to have more than one foreign key?

589