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: Using LIKE with IN on an expression

Re: Using LIKE with IN on an expression

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 26 Jan 2007 15:22:49 -0800
Message-ID: <1169853766.111866@bubbleator.drizzle.com>


Grant wrote:
> Hi,
>
> The following Statement:
>
> WHERE x.field LIKE (IN(%MyCommadelimetedValue%))
>
> Is that thecorrect syntax to perfom a comparison on values brought in
> from a selection combo box? (Iam assuming that Oracle is able to
> perform such an operation)
>
> Thanks
>
> Grant

It makes no sense whatsoever.

x.field is either LIKE something or it is IN one or more values.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Fri Jan 26 2007 - 17:22:49 CST

Original text of this message

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