Re: Is This A Set Based Solution?

Поиск
Список
Период
Сортировка
От George Weaver
Тема Re: Is This A Set Based Solution?
Дата
Msg-id 008001c76710$da487db0$6400a8c0@Dell4500
обсуждение исходный текст
Ответ на Is This A Set Based Solution?  (Stefan Berglund <stefan_berglund@msn.com>)
Список pgsql-general
Stefan Berglund wrote:

> foo WHERE (ID = 53016 OR ID = 27 OR ID = 292 OR ID = 512) or I could
> alternatively pass the string of IDs ('53016,27,292,512') to a table
> returning function which TABLE is then JOINed with the table I wish to

Stefan,

The user selections will be in some sort of list.  Could you not use WHERE
ID IN (the list)?

Regards,
George


В списке pgsql-general по дате отправления:

Предыдущее
От: "John D. Burger"
Дата:
Сообщение: Re: Native type for storing fractions (e.g 1/3)?
Следующее
От: Douglas McNaught
Дата:
Сообщение: Re: Automating access grants