Received: from web13502.mail.yahoo.com (web13502.mail.yahoo.com [216.136.175.81]) by postgresql.org (Postfix) with SMTP id 58E6F4758EF for ; Mon, 11 Mar 2002 15:12:06 -0500 (EST) Message-ID: <20020311201207.29010.qmail@web13502.mail.yahoo.com> Received: from [200.231.135.6] by web13502.mail.yahoo.com via HTTP; Mon, 11 Mar 2002 12:12:07 PST Date: Mon, 11 Mar 2002 12:12:07 -0800 (PST) From: Juliano Ignacio Subject: Re: To: Bhuvan A Cc: pgsql-bugs@postgresql.org In-Reply-To: <20020311085824.C45259-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200203/64 X-Sequence-Number: 3312 On Mon, 11 Mar 2002, Bhuvan A wrote: > If you compare a NULL with anything you don't > get a true value whether you're comparing with > =, !=, <, >, etc... That's how it's defined to > behave. > > where did you get this definition of behaviour!? > is it applicable only to > postgres or ..? its quite strange yaar! I think that you are searching for a solution, so, view the COALESCE SQL function in PostgreSQL documentation. It will help you in your compares. Juliano S. Ignacio jsignacio@yahoo.com __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/