Subject | Re: [firebird-support] Primary Key, Foreign Key |
---|---|
Author | Elmar Haneke |
Post date | 2003-11-20T09:54:48Z |
Alexander Tabakov schrieb:
table "TBL_PERSON", the FK-Index is created on table "TBL_PERSON".
Elmar
> 1. TBL_PARTY, primary key PARTY_IDYou should not get duplicate indices here: The PK-Index is created on
> 2. TBL_PERSON references TBL_PARTY on PARTY_ID
>
> So, PARTY_ID is a FK in TL_PERSON which means I have an index created,
> but PARTY_ID is a PK also. I don't like tables without PK defined, but
> in that case I will get 2 indexes on one and the same field which is
> not good also.
table "TBL_PERSON", the FK-Index is created on table "TBL_PERSON".
Elmar