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

Answers were Sorted based on User's Feedback



Begin For j in 4403201000 .. 4403202000 Loop ..

Answer / nitesh

ORA-01426 : Numeric overflow

Is This Answer Correct ?    8 Yes 0 No

Begin For j in 4403201000 .. 4403202000 Loop ..

Answer / kishore

Begin
*
ERROR at line 1:
ORA-01426: numeric overflow
ORA-06512: at line 3

Is This Answer Correct ?    3 Yes 0 No

Begin For j in 4403201000 .. 4403202000 Loop ..

Answer / sanotsh

ERROR at line 1:
ORA-01426: numeric over Flow
ORA-06512: at line 2

Is This Answer Correct ?    3 Yes 0 No

Begin For j in 4403201000 .. 4403202000 Loop ..

Answer / shilpa.oracle

You've probably gone beyond the limit Oracle can cope with
for a number variable.

Is This Answer Correct ?    3 Yes 0 No

Begin For j in 4403201000 .. 4403202000 Loop ..

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

Begin For j in 4403201000 .. 4403202000 Loop ..

Answer / iamanocp

It displays 4403201000 to 4403202000

Is This Answer Correct ?    0 Yes 1 No

Begin For j in 4403201000 .. 4403202000 Loop ..

Answer / venkat

this is out put aboue loop
4403201000
4403201100
4403201200
4403201300
4403201400
4403201500
4403201600
4403201700
4403201800
4403201900
4403202000

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

how can we repair a mysql table? : Sql dba

0 Answers  


How many types of cursors are available in pl/sql?

0 Answers  


What is the difference between unique and primary key constraints?

0 Answers  


Can we use two order by clause in query?

0 Answers  


Explain spool.

0 Answers  






what is unique key constraint? : Sql dba

0 Answers  


What is the criteria while applying index to any column on any table.

1 Answers   Infogain,


What are the advantages of sql?

0 Answers  


What is the relation b/w view and trigger

3 Answers   Accenture, TCS,


I am creating an index on Emp table Empno column,if u using this indexed column in ur SELECT stmt. where clause,then how do u know that yr index will be working or nor? Thanks Advance...

3 Answers  


What is scalar data type in pl sql?

0 Answers  


What do you mean by stored procedures? How do we use it?

0 Answers  


Categories