Re: Question

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Question
Дата
Msg-id 3F8C382C.3010303@bigfoot.com
обсуждение исходный текст
Ответ на Question  (Robert Partyka <bobson@wdg.pl>)
Список pgsql-general
Robert Partyka wrote:

> Hi,
>
> I have question:
>
> why such condition:
> foofield not like '%bar%'
>
> where foofield is varchar
>
> returns false (or rather even ignore row) on record where foofield is null
> but
> returns true on records where foofield is '' (empty string)

SQL specifications.

Empty string and NULL are two different thinks.

Regards
Gaetano Mendola


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

Предыдущее
От: Network Administrator
Дата:
Сообщение: Re: previous & next buttons
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: converting varchar date strings to date