In this blog post, let’s learn about the error message “3145 Positioned UPDATE or DELETE is allowed only in embedded SQL.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
3145 Positioned UPDATE or DELETE is allowed only in embedded SQL.
Reason for the Error
You attempted to perform a positioned UPDATE or DELETE, which is supported only in embedded NonStop SQL/MX.
Solution
Correct the syntax and resubmit