Board index » delphi » error -object in use- when adding foreign key constraint
Peter Laursen
![]() Delphi Developer |
Fri, 09 Jul 2004 23:08:31 GMT
error -object in use- when adding foreign key constraint
When I run the below script in IBConsole against an empty database as SYSDBA
I get the error: "Unsuccessful metadata update object SERIE_ENHED is in use ". If I remove the foreign key constraint from the script, I get no errors. However if I then do "alter table serie add constraint fk_serie_serie_enhed foreign key (serie_enhed_recnum) references serie_enhed(serie_enhed_recnum)" i get the same error again. What does "object is in use" mean and how do I aviod it? TIA script: create table serie( |