adspace


Begin

For j in 4403201000 .. 4403202000

Loop

If mod (j, 100) = 0 then

Dbms_output.put_line (j);

End if;

End loop;

End;

what will be the output of this question

Answer Posted / leonard

j which is used in for loop is a integer.

integer range is in between -2147483647 to 2147483647.

We can not use integer value in for loop more than
2147483647 which will throw 'ORA-01426: numeric overflow'
exception

Is This Answer Correct ?    3 Yes 1 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


Is primary key clustered index?

1028


what is schema? : Sql dba

1163


How do I remove duplicates in two columns?

1202


what is dbms? : Sql dba

1070


what are aggregate and scalar functions? : Sql dba

1142


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

1125


Is inner join faster than left join?

1287


Does group by remove duplicates?

1120


Do we need to rebuild index after truncate?

1154


What is your daily office routine?

2353


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

2102


define sql insert statement ? : Sql dba

1110


What is the current version of postgresql?

1188


What is the current version of sql?

1106