In this blog post, let’s learn about the error message “1242 The character set for string literals in CONSTRAINT must be ISO88591.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1242 The character set for string literals in CONSTRAINT must be ISO88591.
Reason for the Error
You specified a literal with a character set other than ISO88591 in the text of a constraint.
Solution
Specify only ISO88591 literals in constraints