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 / anil kumar jampana

declare
lowerl number:= 1;
upperl number:= 3;
num varchar2(10);
begin
for i in lowerl..upperl
loop
num:=num||to_char(lowerl);
if i=3 then upperl:=5;
end if;
end loop;
message(num);
end;
some changes in the programme.......
it will result 111

Is This Answer Correct ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is int identity in sql?

573


What is record variable?

550


i have some prob lem to tell me about my self in interview first round ...

1700


What is a loop in sql?

564


where are cookies actually stored on the hard disk? : Sql dba

578






What is a sql trace file?

546


What is schema in sql example?

595


How do I partition in sql?

536


tell me about various levels of constraint. : Sql dba

528


What is embedded sql what are its advantages?

503


How do you declare a constant?

525


What are the two parts of design view?

579


What are triggers in sql?

578


How do I save a stored procedure?

521


What is difference between hql and sql?

503