HPE NonStop SQL/MX Error – 1266 Only priv-type privilege is supported for a object-type.

In this blog post, let’s learn about the error message “1266 Only priv-type privilege is supported for a object-type.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

1266 Only priv-type privilege is supported for a object-type.

Reason for the Error

You specified an unsupported privilege on a procedure or a routine or a sequence in a GRANT statement.

Solution

Resubmit the GRANT statement specifying the valid privilege for the procedure or routine or sequence