Aviso importante
Caso tenhas alguma
dúvida a respeito
da linguagem mande
um e-mail que terás
a resposta.
C. A. Dornelles
SQL - SQLCODE's - Códigos positivos
Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF.
SQLCode +541
The referential or unique constraint
name
has been ignored because it is a duplicate
Causa
A FOREIGN KEY clause uses the same key and parent table as another FOREIGN KEY clause, or a UNIQUE clause uses the same column list as another UNIQUE or PRIMARY KEY clause . In either case, the duplicate clause is ignored.
name
is either the foreign key name or the unique constraint name.
Ação do sistema
O DB2 continua processando.
Resposta ao Desenvolvedor
If the duplication is an error, correct the statement and execute it again.
SQLSTATE: 01543