Re: Question

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Question
Дата
Msg-id 20031014111440.E73584@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Question  (Robert Partyka <bobson@wdg.pl>)
Ответы Re: Question
Список pgsql-general
On Mon, 13 Oct 2003, Robert Partyka wrote:

> why such condition:
> foofield not like '%bar%'
>
> where foofield is varchar
>
> returns false (or rather even ignore row) on record where foofield is
> null

Actually, it probably returns unknown(NULL) on such records.
NULL LIKE '%bar%' is unknown, so
NULL NOT LIKE '%bar%' is also unknown.

This is because NULL isn't the same as empty string, nor is it the absence
of a value, but it's an unknown value.

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: converting varchar date strings to date
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Transaction Queries!!!