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 application trigger?
What is a rank in sql?
what is a table in a database ? : Sql dba
Can we use distinct and group by together?
- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?
How to know the last executed procedure?
How do I write a sql query in pgadmin 4?
what is the use of double ampersand (&&) in sql queries?
what is myisam? : Sql dba
What is a null value?
What is a clob in sql?
What is the difference between the conventional and direct path loader? : aql loader
which types of join is used in sql widely? : Sql dba
What is serial sql?
When is a declare statement required?