Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: LIKE clause

Re: LIKE clause

From: G Quesnel <dbaguy_ott_at_yahoo.com>
Date: 18 Jul 2006 04:54:26 -0700
Message-ID: <1153223666.503710.126910@75g2000cwc.googlegroups.com>


Note that you may get better performance by removing the case statement. Something like;
and (param1 = 3

   or (then param1 = 1 and fl.status like '%NBH%')    or (then param1 = 2 and fl.status like '%SVH%') )

If as you said, you don't need to lookup the value of fl.status when param1 is 3. Received on Tue Jul 18 2006 - 06:54:26 CDT

Original text of this message

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