SQL - SQLCODE's - Códigos negativos -157
Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com
SQLCode -157
Causa
ONLY A TABLE NAME CAN BE SPECIFIED IN A FOREIGN KEY CLAUSE.
object-name
IS NOT THE NAME OF A TABLE.
The indicated object was identified in a FOREIGN KEY clause of a CREATE or ALTER TABLE statement.
A FOREIGN KEY clause must identify a table.
Ação do sistema
The statement cannot be executed.
Resposta ao Desenvolvedor
Correct the statement to specify a table name in the foreign key clause.
SQLSTATE: 42810
© Copyright IBM Corp.