In this blog post, let’s learn about the error message “20166 Reserved words cannot be used for an object name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20166 Reserved words cannot be used for an object name.
Reason for the Error
You used an SQL reserved word as an object name.
Solution
Correct the syntax and resubmit