SQL - SQLCODE's - Códigos negativos -554


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

SQLCode -554

   
 
  • Causa
    • AN AUTHORIZATION ID CANNOT GRANT A PRIVILEGE TO ITSELF.

      An authorization ID attempted to execute a GRANT statement in which that ID itself appears as one of the entries in the list of 'grantee' authorization IDs.

      An authorization ID cannot GRANT a privilege to itself.
      However, if SQLRULES(STD) is in effect or CURRENT RULES contains STD, GRANT to self is allowed.
  • Ação do sistema
    • The statement cannot be executed.
      No privileges were granted.
  • Resposta ao Desenvolvedor
    • Refer to Chapter 4 of DB2 SQL Reference for information about restrictions on the use of the GRANT statement.

      SQLSTATE: 42502

© Copyright IBM Corp.