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 / guest

result will be 111

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to escape special characters in sql statements? : Sql dba

1124


what is sql server agent? : Sql dba

1188


How do I remove duplicates in two columns?

1202


What is the best sql course?

1063


what are aggregate and scalar functions? : Sql dba

1142


Is primary key clustered index?

1027


what is bcp? When does it used? : Sql dba

1065


What is the current version of postgresql?

1188


how many tables will create when we create table, what are they? : Sql dba

1155


Can delete statement be rollbacked?

1065


Can we use distinct and group by together?

1146


how to start mysql server? : Sql dba

1279


If a cursor is open, how can we find in a pl/sql block?

1252


how to use regular expression in pattern match conditions? : Sql dba

1125


Can we rollback truncate?

1083