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
How to create an array in pl/sql?
What are primary key and foreign key and how they work?
What is auto increment?
Why sql query is slow?
how to check myisam tables for errors? : Sql dba
What is a column in a table?
What are operators available in sql?
What is sql data?
What are the different tcl commands in sql?
What is a temporal data type?
What is difference between stored procedures and application procedures?
Why is normalization important?
What are predefined functions in sql?
What is the use of & in pl sql?
What is difference between sql and excel?