Fórum Referencia no IB #51291
13/06/2005
0
Criei ela assim :
FOREIGN KEY (´CODCAD´) REFERENCES BANCO_PAI (´CODCAD´);
estou tentado destruir ela assim :
ALTER TABLE ´BANCO_FILHO´ Drop FOREIGN KEY (´CODCAD´) REFERENCES BANCO_PAI (´CODCAD´);
so q nao funciona o erro para em cima da palavra DROP
valew pessoal !!!!
[color=green:b84618dcf9]Movido de Delphi para Interbase/Firebird.[/color:b84618dcf9]
Guilherme
Curtir tópico
+ 0Posts
13/06/2005
Gandalf.nho
ALTER TABLE tabela DROP CONSTRAINT nome_constraint
Gostei + 0
13/06/2005
Guilherme
Gostei + 0
13/06/2005
Gandalf.nho
Gostei + 0
13/06/2005
Guilherme
Gostei + 0
14/06/2005
Guilherme
ajuda ai galera !!!!
Gostei + 0
14/06/2005
Fsflorencio
Baixe o ibexpert que é mais fácil que usar o ibconsole, é só clicar encima da constraint para removê-la.
Gostei + 0
14/06/2005
Guilherme
Gostei + 0
14/06/2005
Fsflorencio
Gostei + 0
14/06/2005
Gandalf.nho
Gostei + 0
17/06/2005
Guilherme
onde q olha o nome da CONSTRAINT ???
é na propriedade index ???????
Gostei + 0
17/06/2005
Gandalf.nho
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)