In this blog post, let’s learn about the error message “4152 Table name cannot be both read and updated.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4152 Table name cannot be both read and updated.
Reason for the Error
You attempted to read from and update the same table.
Solution
Modify the statement and resubmit