QEN00007 End of statement is expected but {0} was found

Explanation

Tokens were encountered after the end of statement while parsing the query that calls the stored procedure.

User response

Check the query's syntax for errors.