Subject | Re: [ib-support] Error:Object is in use |
---|---|
Author | Nando Dessena |
Post date | 2001-02-22T12:25:30Z |
Helen,
BILLOFMATERIAL having a non-existent WONO will never be part of the
relation.
if I'm not mistaken, this is the "classic" (maybe obsolete) way of
structuring master/detail relationships. It may not be desirable for
performance and/or strictly firebird-related reasons, but from a design
point of view I don't see it as bizarre as you do.
WRT the original problem, I guess Paul's suggestion will do.
Ciao
--
____
_/\/ando
> I think it is very bizarre to make a composite primary key on the detail table AND to make one of the columns of that key your foreign key. What is your reasoning for that? What does WONO add that BMNO doesn't do on its own?WONO adds referential integrity. It guarantees that a record in
BILLOFMATERIAL having a non-existent WONO will never be part of the
relation.
if I'm not mistaken, this is the "classic" (maybe obsolete) way of
structuring master/detail relationships. It may not be desirable for
performance and/or strictly firebird-related reasons, but from a design
point of view I don't see it as bizarre as you do.
WRT the original problem, I guess Paul's suggestion will do.
Ciao
--
____
_/\/ando