Re: Select .... where id not in (....) returns 0 incorrectly

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: Select .... where id not in (....) returns 0 incorrectly
Дата
Msg-id 2ddba2d73d0d54da3396ff2dad9e7d2d@vivaldi.net
обсуждение исходный текст
Ответ на Select .... where id not in (....) returns 0 incorrectly  ("J. Roeleveld" <joost@antarean.org>)
Ответы Re: Select .... where id not in (....) returns 0 incorrectly  (Jeremy Smith <jeremy@musicsmith.net>)
Список pgsql-general
> select count(1) from snapshotlist where id not in (select id from q);
> count
> -------
>     0
> (1 row)

Doesn't this usually happen if q.id contains NULL.  That is as per ANSI 
standard.



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

Предыдущее
От: Sebastien Flaesch
Дата:
Сообщение: Re: Transaction and SQL errors
Следующее
От: Jeremy Smith
Дата:
Сообщение: Re: Select .... where id not in (....) returns 0 incorrectly