Duvidas com o firebird
Estou tentando criar uma chave estrangeira no firebird, porém fica dando o seguinte error:
ISC ERROR CODE:335544351
ISC ERROR MESSAGE:
unsuccessful metadata update
Table column not found
Statement: ALTER TABLE ´TBL_CC´ ADD CONSTRAINT ´FK_TBL_CC_REFERENCE_TBL_funcionarios´ FOREIGN KEY (´Cod´) REFERENCES ´TBL_funcioanrios´ (´Codigo_CC´)
Será que alguém pode me dar uma dica.
Boa tarde a todos.
Jujan
ISC ERROR CODE:335544351
ISC ERROR MESSAGE:
unsuccessful metadata update
Table column not found
Statement: ALTER TABLE ´TBL_CC´ ADD CONSTRAINT ´FK_TBL_CC_REFERENCE_TBL_funcionarios´ FOREIGN KEY (´Cod´) REFERENCES ´TBL_funcioanrios´ (´Codigo_CC´)
Será que alguém pode me dar uma dica.
Boa tarde a todos.
Jujan
Jujan
Curtidas 0
Respostas
Sremulador
10/08/2005
parece que a coluna da tabela não foi encontrada...
GOSTEI 0
Afarias
10/08/2005
Quando usar nomes de objetos usando aspas, atenção nas maiúsculas e minúsculas!
T+
T+
GOSTEI 0