Re: Querying a list of values

From: "Vishal Kashyap (at) [SaiHertz]" <vishalonlist(at)gmail(dot)com>
To: aarni(at)kymi(dot)com
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Querying a list of values
Date: 2004-11-18 12:49:48
Message-ID: 77b69d21041118044954f4e5d3@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Sean Davis 2004-11-18 12:54:14 Re: Querying a list of values
Previous Message Aarni Ruuhimäki 2004-11-18 12:38:52 Querying a list of values