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

What is recursive stored procedure?

589


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

494


What is meant by cursor in sql?

530


What is oracle sql called?

495


What is a dynamic query?

561






How to run sql*plus commands in sql developer?

578


What are the different ddl commands in sql?

570


Is sql the best database?

492


What is row_number () in sql?

529


What is bitemporal narrowing?

713


What is a left inner join?

525


What are the different sql commands?

505


Where do we use pl sql?

543


What is the difference between partitioning and sharding?

519


What is dense_rank?

530