Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: how to get oracle to ignore an index
Can you hint the query to use the right index? If not, try where =
table.text_field||'' =3D :bind_variable or table.number_field *1 =3D =
:bind_variable or=20
:bind_variable or table.number_field =3D to_char(:bind_variable)
-----Original Message-----
From: oracle-l-bounce_at_freelists.org =
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of ryan.gaffuri_at_cox.net
Sent: Friday, February 06, 2004 11:43 AM
To: oracle-l_at_freelists.org
Subject: how to get oracle to ignore an index
I have a query that uses bind variables, so it cannot use histograms. = Its choosing the wrong index. I have been dropping the index, getting it = to choose the correct index and using a stored outline.
anyway to go: oracle ignore this index.
I tried disabled, but that just returns an error, plus I have to rebuild = it. I'd prefer to avoid building the index again.
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
![]() |
![]() |