More efficient OR

Поиск
Список
Период
Сортировка
От Keith Worthington
Тема More efficient OR
Дата
Msg-id 20050216155901.M41773@narrowpathinc.com
обсуждение исходный текст
Ответы Re: More efficient OR
Re: More efficient OR
Re: More efficient OR
Список pgsql-sql
Hi All,

In several of my SQL statements I have to use a WHERE clause that contains
mutiple ORs.  i.e.

WHERE column1 = 'A' OR     column1 = 'B' OR     column1 = 'C'

Is there a more efficient SQL statement that accomplishes the same limiting
functionality?

Kind Regards,
Keith


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