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