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 -> Re: REPOST: Re: 2 overlapping indexes

Re: REPOST: Re: 2 overlapping indexes

From: Tianhua Wu <tianhua.wu_at_mirant.com>
Date: 29 Jan 2002 07:46:10 -0800
Message-ID: <18e503ea.0201290746.50d6f87c@posting.google.com>


It is true that a,b,c is unique, then abcd is unique as well. However on the other hand, if you make abcd unique instead, then you will allow unwanted data in your database. So you need think before you decide which one you want to choose.

Norman Dunbar <Norman.Dunbar_at_lfs.co.uk> wrote in message news:<4$--$%%%_$$_%-_$-$@news.noc.cabal.int>...
> Niall wrote :
>
> >> Like Norman I can't for the life of me see the point of adding col4
> as the
> >> statement is that the first three columns are unique. Unless I have
> misread
> >> the OP of course.
>
> No, Niall, we are correct, the original poster wrote :
>
> >> 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.
>
> But, we know A,B,C is unique, so D cannot make them now non-unique -
> unless he is using SQL Server :o)
>
> ------------------------------------------------------------------------
> -----
> Norman Dunbar EMail: Norman.Dunbar_at_LFS.co.uk
> Database/Unix administrator Phone: 0113 289 6265
> Fax: 0113 289 3146
> Lynx Financial Systems Ltd. URL: http://www.Lynx-FS.com
> ------------------------------------------------------------------------
> -----
>
> ========= WAS CANCELLED BY =======:
> From: Norman Dunbar <Norman.Dunbar_at_lfs.co.uk>
> Control: cancel <E2F6A70FE45242488C865C3BC1245DA7A0780F_at_lnewton.leeds.lfs.co.uk>
> Subject: cmsg cancel <E2F6A70FE45242488C865C3BC1245DA7A0780F_at_lnewton.leeds.lfs.co.uk>
> Date: Sun, 27 Jan 2002 23:44:43 GMT
> Message-ID: <cancel.E2F6A70FE45242488C865C3BC1245DA7A0780F_at_lnewton.leeds.lfs.co.uk>
> X-No-Archive: yes
> Newsgroups: microsoft.test,alt.flame.niggers,comp.databases.oracle.server
> NNTP-Posting-Host: w088.z064003087.lax-ca.dsl.cnc.net 64.3.87.88
> Lines: 1
> Path: news.uni-stuttgart.de!news.fh-hannover.de!fu-berlin.de!newsfeed.stueberl.de!newsfeed.online.be!newsfeed.esat.net!nntp.cifnet.net!out.nntp.be!propagator-SanJose!in.nntp.be!news-in-sanjose!sjc-feed.news.verio.net!sea-feed.news.verio.net!news.verio.net!msrnewsc1!cppssbbsa01.microsoft.com!tkmsftngp01!tkmsftngp04!u&n&a&c&anceller
> Xref: news.uni-stuttgart.de control:40722519
>
> This message was cancelled from within The Unacanceller's glorious new software, Lotus 1-2-3 For Rogue Cancellers.
Received on Tue Jan 29 2002 - 09:46:10 CST

Original text of this message

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