Subject Re: [ib-support] Foreign Key index optional?
Author Ray Drew
On Friday, May 03, 2002 3:20 AM Helen wrote:

<<<

At 10:07 PM 02-05-02 +0100, you wrote:
>There was some discussion last year on the use of foreign keys referencing
>small control tables and the fact that the foreign key's mandatory index
>would slow things down. I think it was mentioned that the foreign key's
>index would be made optional. Are foreign keys' indexes optional now?

No. It was tried and tested and turned out to have a lot of unforeseen
ramifications at ODS level; so it has been deferred for the time being.

cheers,
Helen

>>>

So I guess your original advice still holds in those circumstances - don't
create a foreign key, create a composite key of primary key + foreign key if
needed, enforce referential integrity with a trigger.

Thanks,

Ray


_________________________________________________________
Do You Yahoo!?
Get your free @... address at http://mail.yahoo.com