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!

assocative array

2980031Jul 5 2015 — edited Jul 6 2015

Hi All,

Indexing an associative array by BINARY_INTEGER allows a  particular element to be read directly without looping through the entire array.

however, this is possible only when the index value of the element being read is known beforehand.

Otherswise, this method proves to be somewhat inefficient.

this limitation is overcome by indexing the array by a VARCHAR2 value.

this gives random(direct) access to an element without having to loop through.

Please can u provide comments on the above statement.

If possible can anyone give examples for better understanding.

Thanks,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 3 2015
Added on Jul 5 2015
8 comments
1,292 views