Erro criação de integridade
Estou tentando criar uma integridade referencial e não estou conseguindo.
Já tentei de tudo, recriar as chaves primárias, checar integridades e nada.
A seguinte mensagem de erro é exibida:
Unsuccessful metadata update
STORE RDB$REF_CONSTRAINTS failed
action cancelled by trigger (1) to preserve data integrity
Name of Referential Constraint not defined in constraints table
Statement: ALTER TABLE MOVIMENTO_PS ADD CONSTRAINT IR_MOV_PS_PRT FOREIGN KEY (PAC_MAT, PROTOCOLO) REFERENCES PROTOCOLO_PS (PAC_MAT, PROTOCOLO)
Alguém sabe o que posso fazer ???
Já tentei de tudo, recriar as chaves primárias, checar integridades e nada.
A seguinte mensagem de erro é exibida:
Unsuccessful metadata update
STORE RDB$REF_CONSTRAINTS failed
action cancelled by trigger (1) to preserve data integrity
Name of Referential Constraint not defined in constraints table
Statement: ALTER TABLE MOVIMENTO_PS ADD CONSTRAINT IR_MOV_PS_PRT FOREIGN KEY (PAC_MAT, PROTOCOLO) REFERENCES PROTOCOLO_PS (PAC_MAT, PROTOCOLO)
Alguém sabe o que posso fazer ???
Alvaro Maia
Curtidas 0
Respostas
Afarias
26/08/2003
Já tentou dar outro nome a constraint??
T+
T+
GOSTEI 0
Alvaro Maia
26/08/2003
Já e não funcionou.
GOSTEI 0
Afarias
26/08/2003
Tô sem idéias... :( já verificou se o banco não está corrompido?!
T+
T+
GOSTEI 0