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


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

   
 
  • Causa
    • THE SQL STATEMENT SPECIFIES A STRING THAT IS TOO LONG.

      An INSERT, UPDATE, CALL, VALUES INTO, SET, parameter, host variable, or transition variable statement specifies a value that is longer than the maximum length string that can be stored in the target column.
  • Ação do sistema
    • A declaração não pode ser executada.
  • Resposta ao Desenvolvedor
    • Check the length of the target column, parameter, host variable or transition variable and correct the program or SQL statement so that the length of the string does not exceed that maximum.
      For example, you could use the SUBSTR function to shorten the string.

      SQLSTATE: 22001

© Copyright IBM Corp.