In this blog post, let’s learn about the error message “1268 Duplicate columns are not allowed in a GRANT or REVOKE statement.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1268 Duplicate columns are not allowed in a GRANT or REVOKE statement.
Reason for the Error
You specified duplicate column names with the update or references privilege in a GRANT or REVOKE statement.
Solution
Correct the GRANT or REVOKE statement by specifying a single column name or a list of distinct column names