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


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 -417

   
 
  • Causa
    • A STATEMENT STRING TO BE PREPARED INCLUDES PARAMETER MARKERS AS THE OPERANDS OF THE SAME OPERATOR.

      The statement string specified as the object of a PREPARE contains a predicate or expression where parameter markers have been used as operands of the same operator--for example:

      ? > ?     Esta sintaxe não é permitida.
  • Ação do sistema
    • Este comando não pode ser executado.
  • Resposta ao Desenvolvedor
    • Correct the logic of the application program so that this syntax error does not occur.
      Refer to Chapter 5 of DB2 SQL Reference for information about the proper usage of parameter markers within SQL statements to be prepared.

      SQLSTATE: 42609

© Copyright IBM Corp.