In this blog post, let’s learn about the error message “20157 Assigning a DEFAULT value to the NO DEFAULT field. Column number=column number” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
20157 Assigning a DEFAULT value to the NO DEFAULT field. Column number=column number
Reason for the Error
You attempted to assign a default value to a field, in column number, with NO DEFAULT.
Solution
Correct the syntax and resubmit