Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

PLS-00224

object 'string' must be of type function or array to be used this way

Cause

An identifier being referenced as a function or an array actually represents an object (a number or date, for example) that cannot be referenced in this way.


Action

Check the spelling and declaration of the identifier. Also confirm that the declaration is placed correctly in the block structure.