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
What is the advantage of index in sql?
Why is the cursor important?
What is the basic structure of an sql?
What do you mean by table in sql?
What is dbo in sql?
Differentiate between pl/sql and sql?
how to show all tables with 'mysql'? : Sql dba
how many triggers are allowed in mysql table? : Sql dba
what is the difference between undefined value and null value? : Sql dba
What is lookup table in sql?
Are left and right joins the same?
Explain what is rdbms?
What is program debugging?
What is sql key?
what are the types of join and explain each? : Sql dba