Oracle Error PLS-00431: bulk SQL attributes must use a single index

Oracle Error Message

PLS-00431: bulk SQL attributes must use a single index

Reason for the Error

More than one index specified to access SQL bulk attribute.

Solution

Use a single index of integer datatype.