-3014: Invalid end of SQL statement

Explanation:

According to the syntax, the specified SQL statement is not allowed in the SQL mode which is currently valid.

User Action:

The error position shows the location where the specified SQL statement deviates from the permitted syntax.