Re: FW: "=" operator vs. "IS"

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: FW: "=" operator vs. "IS"
Дата
Msg-id 20040629104400.M63066@megazone.bigpanda.com
обсуждение исходный текст
Ответ на FW: "=" operator vs. "IS"  ("Dmitri Bichko" <dbichko@genpathpharma.com>)
Список pgsql-sql
On Tue, 29 Jun 2004, Greg Stark wrote:

> Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
>
> > IS TRUE and IS FALSE have a different effect from =true and =false when
> > the left hand side is NULL. The former will return false, the latter will
> > return NULL.
>
> No, actually they both return false.

For purposes of anyone reading this in the archives I'd meant NULL IS TRUE
and NULL IS FALSE return false vs NULL=true and NULL=false returning
NULL.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: UPDATE ... WHERE (subselect on the same table)
Следующее
От: Greg Stark
Дата:
Сообщение: Re: FW: "=" operator vs. "IS"