Re: Querying a list of values
От
Aarni Ruuhimäki
Тема
Re: Querying a list of values
Дата
Msg-id
200411181522.58239.aarni@kymi.com
Ответ на
Querying a list of values (Aarni Ruuhimäki)
Список
Дерево обсуждения
Querying a list of values Aarni Ruuhimäki <aarni@kymi.com>
Re: Querying a list of values Aarni Ruuhimäki <aarni@kymi.com>
Re: Querying a list of values "Vishal Kashyap @ [SaiHertz]" <vishalonlist@gmail.com>
Re: Querying a list of values Aarni Ruuhimäki <aarni@kymi.com>
Re: Querying a list of values Sean Davis <sdavis2@mail.nih.gov>
That was quick ! Thanks, Aarni On Thursday 18 November 2004 14:38, Aarni Ruuhimäki wrote: > Hi people, > > Is there a / what is the way to query a list of values ? > > some_list = '1,2,3,4,5' > > some_list could also be null or any length. > > > > SELECT some_id, some_name > FROM some_table > WHERE some_id = any of the list values of some_list > > > > So that that query would return five rows in this case ? > > I can do a cfml-loop around the query according to the list length for each > value but that means a I do an x number of queries instead of just one. > > ??, > > Aarni > -------------- > This is a bugfree broadcast to you > from **Kmail** > on **Fedora Core 2** linux system > --------------
В списке pgsql-novice по дате отправления