Indices for foreign keys

Started by Jeff Martinabout 24 years ago3 messagesgeneral
Jump to latest
#1Jeff Martin
jeff@dgjc.org

Are indices automatically created for foreign keys?

Thanks for any help,

Jeff
Jeff Martin
704 Torrey Lane, Apartment D
Boalsburg, PA 16827
H814-466-7791
jeff@dgjc.org
www.dgjc.org

#2Denis Gasparin
denis@edistar.com
In reply to: Jeff Martin (#1)
Re: Indices for foreign keys

I think no.
The foreign key constraint implies a trigger that enforces the
relationship between the tables but no index is created. You'll have to
create it yourself.

Bye

--
Ing. Denis Gasparin: denis@edistar.com
---------------------------
Programmer & System Administrator - Edistar srl

Il sab, 2002-02-02 alle 23:04, Jeff Martin ha scritto:

Show quoted text

Are indices automatically created for foreign keys?

Thanks for any help,

Jeff
Jeff Martin
704 Torrey Lane, Apartment D
Boalsburg, PA 16827
H814-466-7791
jeff@dgjc.org
www.dgjc.org

#3Vivek Khera
khera@kcilink.com
In reply to: Jeff Martin (#1)
Re: Indices for foreign keys

"JM" == Jeff Martin <jeff@dgjc.org> writes:

JM> Are indices automatically created for foreign keys?

JM> Thanks for any help,

Empirical evidence suggests no; if it is not documented, submit a
change request for the docs.

Also, don't post HTML. Thanks.