Re: Querying a list of values - Mailing list pgsql-novice

From Vishal Kashyap @ [SaiHertz]
Subject Re: Querying a list of values
Date
Msg-id 77b69d21041118044954f4e5d3@mail.gmail.com
Whole thread Raw
In response to Querying a list of values  (Aarni Ruuhimäki <aarni@kymi.com>)
Responses Re: Querying a list of values
List pgsql-novice
Aarni ,


How about

SELECT some_id, some_name
FROM some_table
WHERE some_id  IN (YOUR LIST seperated with commas)

Or you may go for arrays see contib for it.

--
With Best Regards,
Vishal Kashyap.
Did you know SaiPACS is one and only PACS
Management tool.
http://saihertz.com,
http://vishalkashyap.tk

pgsql-novice by date:

Previous
From: Aarni Ruuhimäki
Date:
Subject: Querying a list of values
Next
From: Sean Davis
Date:
Subject: Re: Querying a list of values