Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: all foreign key should have index?
Only indexes used to support PK and UK constraints can be determined by
querying dba_constraints directly. The indexes that exist to support
FK constraints, if they exist, are not available without doing a little
more work. Unfortunately, the Reference manual (9.2)does not list the
fact the index_name is only populated for PK and UK constraints.
Queries to find these indexes have been posted in the past. Try searching the archives.
HTH -- Mark D Powell -- Received on Mon Jan 30 2006 - 08:51:35 CST