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


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

   
 
  • Causa
    • identifier-name (sql-type) WAS PREVIOUSLY DECLARED OR REFERENCED

      The identifier name has already been defined for the indicated type of SQL object.
      identifier-name
      The name that has already been used.
      sql-type
      The type of SQL object: TABLE, CURSOR, or STATEMENT.
      The definition might have occurred implicitly.
      For example, identifier-name might have been found in the FROM clause of a SELECT, which causes it to be defined as a table.
      A cursor name must be unique within the program or routine.
  • Ação do sistema
    • The statement cannot be processed.
  • Resposta ao Desenvolvedor
    • Remove duplicate definitions or correct the references.

      SQLSTATE: 3C000

© Copyright IBM Corp.