SUBSCRIPTBEYONDCOUNT exception is raised when subscript exceeds number of elements - PL/SQL

Q.  Which collection exception is raised when a subscript exceeds the number of elements in a collection?
- Published on 09 Jul 15

a. VALUE_ERROR
b. COLLECTION_IS_NULL
c. SUBSCRIPT_BEYOND_COUNT
d. SUBSCRIPT_OUTSIDE_LIMIT

ANSWER: SUBSCRIPT_BEYOND_COUNT
 
The SUBSCRIPT_BEYOND_COUNT error is where the in-limit of a subscript was greater than that of the count of a varray or was too large for a nested table.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)