Re: BUG #2417: bug for finding string in column

Поиск
Список
Период
Сортировка
Искать
От
Bruno Wolff III
Тема
Re: BUG #2417: bug for finding string in column
Дата
в 21:04:30
Msg-id
20060503000500.GA31652@wolff.to
Ответ на
Список
Дерево обсуждения
BUG #2417: bug for finding string in column "James" <james@mercstudio.com>
Re: BUG #2417: bug for finding string in column Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: BUG #2417: bug for finding string in column Bruno Wolff III <bruno@wolff.to>
On Tue, May 02, 2006 at 10:34:12 +0000,
  James  wrote:
> 
> i've encounter bug where when a field is empty / null (type varchar(255) ),
> when i use the sql query <> 'myvalue', it seems to be false all the time.

Empty and NULL are not the same thing. NULL <> to any value evaluates
to NULL which will not satisfy a WHERE clause. This is according to the
SQL (i.e. it's not a bug).
В списке pgsql-bugs по дате отправления
От: Stephan Szabo
Дата:
От: Bruno Wolff III
Дата:
FAQ