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


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

   
 
  • Causa
    • TABLE table-name DOES NOT HAVE A UNIQUE KEY WITH THE SPECIFIED COLUMN NAMES.

      A referential constraint cannot be defined with the specified table as the parent because a unique index with the specified column names does not exist for the identified parent table.
  • Ação do sistema
    • The statement cannot be processed.
  • Resposta ao Desenvolvedor
    • Create a unique index with the specified columns for the parent table. SQLSTATE: 42890

© Copyright IBM Corp.