Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Smells like oracle bug?
No. Another reason not to use indexes.
This is not the first and unfortunetely not the last bug about data corruption due to indexes, no matter Oracle or some other database is concerned.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Mercadante, Thomas F (LABOR)
Sent: 13. júlí 2006 18:51
To: gints.plivna_at_gmail.com
Cc: oracle-l
Subject: RE: Smells like oracle bug?
Another reason to never use hints!
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Gints Plivna
Sent: Thursday, July 13, 2006 2:49 PM
Cc: oracle-l
Subject: Re: Smells like oracle bug?
retrying because of overquoting.
Unfortunately in my specially created example I of course can do that, but original query hasn't any hints and without them chose the access path that led to incorrect results. I of course can give some hint(-s) to force another access path, but this is somehow very unpleasing :(
Gints
2006/7/13, Jared Still <jkstill_at_gmail.com>:
> It appears that Oracle is taking your hint quite seriously.
>
> As there is no data in idx2 due to the only value in the
> id2 column being null, Oracle is not returning any rows.
>
> Take idx2 out of the hint, and you get data.
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-l Fyrirvari/Disclaimer http://www.landsbanki.is/disclaimer -- http://www.freelists.org/webpage/oracle-lReceived on Thu Jul 13 2006 - 14:04:33 CDT
![]() |
![]() |