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: Trying to use "where in" to select from a list

Re: Trying to use "where in" to select from a list

From: <ellisjb_at_my-deja.com>
Date: Thu, 20 Jan 2000 16:52:09 GMT
Message-ID: <867efi$a47$1@nnrp1.deja.com>


In article <3885fb0a.87777817_at_news.nanospace.com>,   izblank_at_yahoo.com wrote:
> '2,' is not selective enough either - you'll get a match on 12 as well

Yes, I realized that somewhat belatedly. :)

> :-(. So you have to look for ',2,' . And to make allowance for the
> first and last items in the contents, make it like this:
>
> where instr(','+contents+',', ',2,') >0

Ah, I didn't know you could do that. Thanks!

-Jonathan

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Jan 20 2000 - 10:52:09 CST

Original text of this message

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