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


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

   
 
  • Causa
    • Uma coluna referenciada column-name é ambígua (isto é quando usamos duas tabelas ou mais e existe nas mesmas o mesmo nome de coluna.

      Uma coluna é ambigua se mais de uma tabela ou view identificada na cláusula FROM tem uma coluna ou mais colunas com o mesmo nome.

      A qualified column name is ambiguous only if the qualifier is the correlation name for a nested table expression and the column name is not unique.

      A reference to a column of the triggering table in a CREATE TRIGGER statement is ambiguous if it does not use the correlation name to indicate if it refers to the old or new transition variable.
  • Ação do sistema
    • The statement cannot be executed.
  • Resposta ao Desenvolvedor
    • If the problem is caused by a nonunique column name in a nested table expression, change the nested table expression so that the column name is unique.
      If the problem is caused by the use of an unqualified name, qualify it with a table, view, or correlation name.

      SQLSTATE: 42702

© Copyright IBM Corp.