HPE NonStop SQL/MX Error – 1265 Duplicate grantees not allowed in a GRANT or REVOKE statement.

In this blog post, let’s learn about the error message “1265 Duplicate grantees 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

1265 Duplicate grantees not allowed in a GRANT or REVOKE statement.

Reason for the Error

You specified duplicate grantees in a GRANT or REVOKE statement.

Solution

Reissue the GRANT or REVOKE statement specifying a single grantee or a list of distinct grantees