In this blog post, let’s learn about the error message “4096 A DEFAULT specification is currently allowed only when simply contained in the VALUES list of an INSERT.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4096 A DEFAULT specification is currently allowed only when simply contained in the VALUES list of an INSERT.
Reason for the Error
You specified a DEFAULT value that was not contained in the VALUES list of an INSERT.
Solution
Correct the syntax and resubmit