Re: NULL value comparison

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: NULL value comparison
Дата
Msg-id 5034DF06.8000801@gmail.com
обсуждение исходный текст
Ответ на NULL value comparison  (Michael Sacket <msacket@gammastream.com>)
Список pgsql-general
On 08/22/2012 06:23 AM, Michael Sacket wrote:
> Good Day,
>
> I'm trying to figure out why a postgresql query doesn't return what I'd expect with a query like this where there are
NULLvalues: 
>
> select * from users where is_enabled<>'Y';
>
> I'm expecting it to return all records where is_enabled is 'N' or NULL.  Perhaps my expectations are misguided.  Any
thoughtswould be appreciated. 

See below for explanation:
http://www.postgresql.org/docs/9.1/interactive/functions-comparison.html

>
> Thanks!
> Michael
>



--
Adrian Klaver
adrian.klaver@gmail.com


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: NULL value comparison
Следующее
От: David Johnston
Дата:
Сообщение: Re: NULL value comparison