Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 169A2475BEC for ; Tue, 21 Jan 2003 04:13:50 -0500 (EST) Received: from mailhost.humph.com (mailhost.humph.com [193.112.138.73]) by postgresql.org (Postfix) with ESMTP id 5BAAE475B8D for ; Tue, 21 Jan 2003 04:13:49 -0500 (EST) Received: from pc3-cmbg2-5-cust150.cmbg.cable.ntl.com ([80.4.125.150] helo=[10.0.1.15]) by mailhost.humph.com with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.11) id H924AZ-00081T-00; Tue, 21 Jan 2003 09:13:47 +0000 Mime-Version: 1.0 Message-Id: In-Reply-To: <20030115155730.3c6f436a.fernando@vcnet.com.br> References: <20030115155730.3c6f436a.fernando@vcnet.com.br> Date: Tue, 21 Jan 2003 09:14:28 +0000 To: Fernando Braga , pgsql-odbc@postgresql.org From: dev+pgsql@humph.com Subject: Re: NULL fields in inner join Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/77 X-Sequence-Number: 2576 At 15:57 -0200 2003/01/15, Fernando Braga wrote: >Hi Guys, > >If i run an INNER JOIN through odbc, all NULL fields are retrieved with >values (??!). And worse of that, when this occurs, the lines with NULL >fields comes three times. > >Of course, when I do the SQL on the linux server, it comes correct > >Have anybody experienced this behaviour ? > >I've attached linux_server.txt and xp_client.jpg > sorry, but first you are doing an outer join, second the two queries seem to have the same results except for the ordering (as the order by is not the same). So, what's wrong? g