In this blog post, let’s learn about the error message “20164 The search condition for the specified check constraint has a syntax error.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20164 The search condition for the specified check constraint has a syntax error.
Reason for the Error
You attempted to create a check constraint, but a syntax error was found in the search condition.
Solution
Correct the syntax and resubmit