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


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

   
 
  • Causa
    • A PREDICATE IS INVALID BECAUSE A REFERENCED HOST VARIABLE HAS THE NULL VALUE.

      The statement could not be processed because a host variable appearing in a predicate such as "column-name = host-variable" had the NULL value.
      Such a predicate is not permitted when the host variable contains the NULL value even though the object column might contain nulls.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • Rebind the plan or package containing the statement.
      The condition described is not an error in DB2 Version 2 Release 3 and later releases.

      SQLSTATE: 22512

© Copyright IBM Corp.