Re: numeric fields and null

Поиск
Список
Период
Сортировка
От Alexey Dashevsky
Тема Re: numeric fields and null
Дата
Msg-id 20030523055146.7929619327@kpgaz.chernigov.ua
обсуждение исходный текст
Ответ на Re: numeric fields and null  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
> > adhoc=# update users set postaladdressid=null where id=50;
> > UPDATE 1
> >
> > adhoc=# select id,postaladdressid from users where postaladdressid=null;
> >  id | postaladdressid
> > ----+-----------------
> > (0 rows)
> >
> > Why did it not select record 50?
>
> Because NULL=NULL is not true (it's unknown).  Use IS NULL if you want to
> see if something is NULL.

If in postgresql.conf set parameter    transform_null_equals=TRUE  ????


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

Предыдущее
От: Bruce Young
Дата:
Сообщение: language "plpgsql" does not exist
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Can arrays reference primary keys in CREATE TABLE?