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: How can I optimize a query on two indexed columns?

Re: How can I optimize a query on two indexed columns?

From: Patrick Tan <ptan_at_mindspring.com>
Date: Mon, 20 Apr 1998 09:25:59 -0400
Message-ID: <353B4CE7.E47CA7EB@mindspring.com>


select col1, col2
from tab1
where col1||'' = 'x' and col2 = 'y'

will force optimizer to use col2 index

Patrick Received on Mon Apr 20 1998 - 08:25:59 CDT

Original text of this message

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