| ERROR | 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. |
| ERROR | 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. |