Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Index usage
Am I missing something? It looks to me like these queries are the same...
-----Original Message-----
Sent: Thursday, January 08, 2004 9:09 AM
To: Multiple recipients of list ORACLE-L
Hi All,
I have the query like:
SELECT *
FROM tab1
WHERE UPPER(col1) <> 'abc';
Obviously, the function based index i have is not hetting used because of the ineqality.
When using
SELECT *
FROM tab1
WHERE UPPER(col1) <> 'abc';
index is getting used.
How can I possibly use index in the 1st case.
Thanks and Regards,
B S Pradhan
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Bellow, Bambi
INET: bbellow_at_chi.navtech.com
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jan 08 2004 - 10:54:26 CST
![]() |
![]() |