Database Error Messages

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

PLS-00219

label 'string' reference is out of scope

Cause

A block or loop label was used to qualify a variable (as in outer_block.date) that was not declared or is not within the scope of the label. The variable name might be misspelled, its declaration might be faulty, or the declaration might be placed incorrectly in the block structure.


Action

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