Re: exclusive OR possible within a where clause?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: exclusive OR possible within a where clause?
Дата
Msg-id 4E9C7FCD.8010609@hogranch.com
обсуждение исходный текст
Ответ на Re: exclusive OR possible within a where clause?  (David Salisbury <salisbury@globe.gov>)
Ответы Re: exclusive OR possible within a where clause?
Список pgsql-general
On 10/17/11 12:15 PM, David Salisbury wrote:
> <> is the same as !=, which is
> different than the fabled XOR I was hoping for.  In fact
> they would never equal.

F != F -> false
F != T -> true
T != F -> true
T != T -> false


how is that different than XOR, assuming the arguments are booleans ?


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


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

Предыдущее
От: David Salisbury
Дата:
Сообщение: Re: exclusive OR possible within a where clause?
Следующее
От: Ken Tanzer
Дата:
Сообщение: Re: exclusive OR possible within a where clause?