Database Error Messages

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

PCC-02373

Invalid declaration in EXEC SQL DECLARE section

Cause

An improper declaration was placed in a Declare Section. This message is usually caused by including an EXEC SQL TYPE or EXEC SQL VAR declaration in a Declare Section.


Action

Move the declaration outside of the SQL DECLARE section.