Start of change

-562   THE SPECIFIED PRIVILEGES CANNOT BE GRANTED TO PUBLIC.

Explanation

The GRANT statement attempted to grant one of the following privileges to the reserved authorization ID PUBLIC (public):

  • System DBADM
  • DATAACCESS
  • ACCESSCTRL
  • CREATE_SECURE_OBJECT

These privileges cannot be granted to PUBLIC (public).

System action

The statement cannot be processed.

Programmer response

Change the statement to specify a privilege that can be granted to PUBLIC, or specify a grantee other than PUBLIC.

SQLSTATE

42508

End of change