adspace
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 best sql course?
Is primary key clustered index?
Can delete statement be rollbacked?
what is sql server agent? : Sql dba
what are aggregate and scalar functions? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba
How do I remove duplicates in two columns?
what are the advantages of sql ? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
Can we use distinct and group by together?
Is primary key always clustered index?
Does group by remove duplicates?
what is dbms? : Sql dba
What is the current version of sql?
how many tables will create when we create table, what are they? : Sql dba