In this blog post, let’s learn about the error message “20186 A syntax error was found near ‘char’ at line number line number.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20186 A syntax error was found near ‘char’ at line number line number.
Reason for the Error
SQL detected a syntax error near char at line number.
Solution
Correct the data in the input file and resubmit