In this blog post, let’s learn about the error message “3197 Only one lock clause may be specified for a single table SELECT.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
3197 Only one lock clause may be specified for a single table SELECT.
Reason for the Error
You specified two or more table-level lock options for the same table reference.
Solution
Remove all but one of the table-level access options for each table reference