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


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

   
 
  • Causa
    • THE OPERANDS OF A UNION OR UNION ALL DO NOT HAVE THE SAME NUMBER OF COLUMNS.

      The operands of a UNION or UNION ALL must have the same number of columns.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • Correct the SQL statement so that there are exactly the same number of columns in each operand.

      SQLSTATE: 42826

© Copyright IBM Corp.