Oracle Database: Program with PL/SQL — Question 54

Select a valid reason for using VARRAYS.

Answer options

Correct answer: B

Explanation

Option B is correct because VARRAYS are designed to be retrieved as a whole for specific rows, especially when dealing with ranges of values. Option A is incorrect as VARRAYS are best suited for fixed sizes, C is wrong because VARRAYS do not support easy deletion of elements from the middle, and D is too restrictive as VARRAYS can hold more than 10 elements.