DB2 Error Code – -557 inconsistent grant/revoke keyword keyword.� permitted keywords are keyword list

In this post, you’ll learn about the error message -557 inconsistent grant/revoke keyword keyword.� permitted keywords are keyword list in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-557 inconsistent grant/revoke keyword keyword.� permitted keywords are keyword list

Reason for the Error

The GRANT or REVOKE statement contains a syntax or spelling error at or before the specified ‘keyword’.� As an aid to the programmer,’keyword list’ provides a list of the keywords that would be permitted in this context. Alternatively: *�� The mixture of privileges specified on the GRANT or REVOKE statement is not permitted.� The privileges must all be of one type, and consistent with the form of the GRANT or REVOKE statement. *�� REVOKE UPDATE (column list) is not permitted; only REVOKE UPDATE is valid.

Solution

Correct the syntax of the GRANT or REVOKE statement.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you’ll learn about the error message -411 current sqlid cannot be used in a statement that references...
  • DB2
  • December 3, 2024
In this post, you’ll learn about the error message -158 the number of columns specified for the view is not...
  • DB2
  • December 3, 2024
In this post, you’ll learn about the error message -618 operation operation is not allowed on system databases in the...
  • DB2
  • December 3, 2024