Re: Query Which is not supposted to list NULLS is listing - Mailing list pgsql-general

From Jean-Christian Imbeault
Subject Re: Query Which is not supposted to list NULLS is listing
Date
Msg-id 3ED3179C.50207@mega-bucks.co.jp
Whole thread Raw
In response to Query Which is not supposted to list NULLS is listing NULLS also  ("shreedhar" <shreedhar@lucidindia.net>)
List pgsql-general
shreedhar wrote:
>
> SELECT jassignedid, JobComments FROM tblJobIncharge WHERE JobComments IS
> NOT NULL AND projectid >= 50 AND projectid <= 100
>
> Which is not supposed to list NULLS  is listing NULLS also.

I can't see anything wrong with your query. Can you give some output to
show what the problem is? The results should not contain and row where
JobComments IS NULL AFAICT.

Maybe I missed something in your question so please give some output.

HTH,

--

Jean-Christian Imbeault


pgsql-general by date:

Previous
From: Darko Prenosil (by way of Darko Prenosil
Date:
Subject: Re: PostgreSQL 7.3.1 on WinXP
Next
From: "shreedhar"
Date:
Subject: Re: Query Which is not supposted to list NULLS is listing