Subject | Re: [ib-support] Add FK Constraint fails with "... object .. is in use" |
---|---|
Author | Ann W. Harrison |
Post date | 2002-07-10T14:03:34Z |
At 05:38 PM 7/9/2002 -0400, Bill Meaney wrote:
as they are created, just as indexes are. For indexes,
a special page called the root page is used to notify
all processes that have an interest in the table that
an index has been added. Because foreign keys do not
have a similar mechanism, the locking requirements to
create them are quite restrictive. My suggestion is that
you create tables, detach, reattach, then create foreign
key constraints.
Regards,
Ann
www.ibphoenix.com
We have answers.
>While running this script in 5.6 we get an error. This error happens quiteForeign keys must be recognized and respected as soon
>frequently but not always, when we try to add a FK constraint.
>
>ISC ERROR MESSAGE:
>unsuccessful metadata update
>object GPCSET is in use
as they are created, just as indexes are. For indexes,
a special page called the root page is used to notify
all processes that have an interest in the table that
an index has been added. Because foreign keys do not
have a similar mechanism, the locking requirements to
create them are quite restrictive. My suggestion is that
you create tables, detach, reattach, then create foreign
key constraints.
Regards,
Ann
www.ibphoenix.com
We have answers.