Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> REPOST: Re: 2 overlapping indexes

REPOST: Re: 2 overlapping indexes

From: Daniel A. Morgan <damorgan_at_exesolutions.com>
Date: Fri, 25 Jan 2002 10:01:47 +0000
Message-ID: <3$--$%%%%--_%%__-$@news.noc.cabal.int>


What is unique on ABC is also unique on ABCD by definition ... even if every value of D is identical.

Daniel Morgan

Keith Boulton wrote:

> Daniel A. Morgan <damorgan_at_exesolutions.com> wrote in message
> news:3C50914E.44C1A427_at_exesolutions.com...
> > To create two different indexes is just adding overhead and serves no
> > useful purpose.
>
> Except to enforce the uniqueness of A,B,C - which I would consider a useful
> purpose.
>
> > > I have a table with column A, B, C, D and E. The data is unique on A,
> > > B and C so I create a unique index on that. Now I would also like to
> > > create a non-unique index on A, B, C and D. Is there a space
> > > efficient way of doing it by declaring table constraint on A, B and C
> > > and then using the index with A,B,C and D? TIA.
>
> No.

This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers. Received on Fri Jan 25 2002 - 04:01:47 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US