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 do I pipe the output of one isql to another?
What is difference between my sql and sql?
What is join view in sql?
Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?
How do I tune a sql query?
What is a system versioned table?
What is flag in sql?
How many types of cursors are available in pl/sql?
How is data stored on a disk?
What is data modelling in sql?
Do ddl statements need commit?
What is the life of an sql statement?
Which is better stored procedure or query?
What is sql select statement?
Can there be 2 primary keys in a table?