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


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

   
 
  • Causa
    • A STATEMENT STRING TO BE PREPARED CONTAINS AN INVALID USE OF PARAMETER MARKERS.

      Parameter markers cannot be used in the SELECT list, as the sole argument of a scalar function, or in a concatenation operation.
      Parameter markers cannot be used in the string expression of an EXECUTE IMMEDIATE SQL statement.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • Correct the logic of the application program so that this error does not occur.
      Refer to Chapter 5 of DB2 SQL Reference for information about the proper usage of parameter markers within SQL statements and for EXECUTE IMMEDIATE SQL statement restrictions.

      SQLSTATE: 42610

© Copyright IBM Corp.