Re: not null - trivial, unexpected behavior

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: not null - trivial, unexpected behavior
Дата
Msg-id 28069.992708476@sss.pgh.pa.us
обсуждение исходный текст
Ответ на not null - trivial, unexpected behavior  (John Scott <jmscott@yahoo.com>)
Список pgsql-sql
John Scott <jmscott@yahoo.com> writes:
> select count(*) from A where b = null;      /* Returns 1, ok */
> select count(*) from A where b != null;     /* Returns 0 ... not ok! */

Uh ... there have been several threads about this just in the past
couple days.  See for example
http://www.ca.postgresql.org/mhonarc/pgsql-sql/2001-06/msg00102.html
and followups.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: not null - trivial, unexpected behavior
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: not null - trivial, unexpected behavior