Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Associative array what is the maximum index number?

unknown-879931Mar 31 2012 — edited Mar 31 2012
I used

type number_type is table of number
index by pls_integer;
number_array number_type;

However. when I,

number_array(2808000301) := 42;

It gives overflow error because index type is pls_integer, And when I change index type pls_integer to number it gives error.

My question is what can I do to prevent this?
This post has been answered by jeneesh on Mar 31 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 28 2012
Added on Mar 31 2012
13 comments
1,163 views