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


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

   
 
  • Causa
    • THERE IS A PROBLEM WITH THE RETURNS CLAUSE IN THE CREATE FUNCTION STATEMENT FOR function-name.

      A problem casting the result of user-defined function function-name has been identified.
      The CAST FROM data type is not castable to the RETURNS data type, and it must be.
      See the DB2 SQL Reference for details on casting between data types.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • Change the RETURNS or CAST FROM clause so that the CAST FROM data type is castable to the RETURNS data type.

      SQLSTATE: 42880

© Copyright IBM Corp.