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

What is basic structure of pl sql?

508


How would you convert date into julian date format?

594


What is indexes?

548


What is embedded sql what are its advantages?

507


How can you tell the difference between an index and a view?

496






What are % type and % rowtype?

578


What is pivot query?

598


How delete all data from all tables in sql?

540


Why having clause is used in sql?

547


What is query execution plan in sql?

571


Will truncate release space?

519


What is error ora-01000: maximum open cursors exceeded

606


Explain the difference between drop and truncate commands in sql?

538


Can you sum a count in sql?

563


What is a sql select statement?

574