Database Error Messages

PCC-02393

SQL statement found inside an EXEC SQL DECLARE SECTION

Cause

An executable SQL statement appears inside a DECLARE SECTION.


Action

Move the SQL statement into the body of a function.