Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id E366A9F9AB1 for ; Tue, 2 Oct 2007 07:23:38 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 78071-08 for ; Tue, 2 Oct 2007 07:23:16 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 7DFAC9F9AA4 for ; Tue, 2 Oct 2007 07:23:38 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id l92ANG0X003013 for ; Tue, 2 Oct 2007 07:23:16 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id l92ALB8c096940 for pgsql-odbc@postgresql.org; Tue, 2 Oct 2007 07:21:11 -0300 (ADT) (envelope-from news) From: "Dmitry Samokhin" X-Newsgroups: pgsql.interfaces.odbc Subject: Re: Unable to update JOIN'ed recordset with PSQLODBC 08.02.0400 and ADO Date: Tue, 2 Oct 2007 14:21:53 +0400 Organization: MNPP Saturn Lines: 46 Message-ID: References: <06e601c8044b$0cc89770$c601a8c0@HP22720319231> Reply-To: "Dmitry Samokhin" X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response To: pgsql-odbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/6 X-Sequence-Number: 9190 Thanks for your attention and a workaround! Investigating different types of queries returning the required result I found out that it fails even on "SELECT ... FROM t1 CROSS JOIN t2 WHERE t1.b = t2.b ..." although the documentation states: 7.2.1.1. Joined Tables ... FROM T1 CROSS JOIN T2 is equivalent to FROM T1, T2. It is also equivalent to FROM T1 INNER JOIN T2 ON TRUE (see below). ... Unfortunately, my simple suite is mainly for the community to easily reproduce the problem. In our real applications, we need to utilize OUTER joins also. Since the PostgreSQL next release, 8.3, is on the way now and requires focusing developers' attention on, please feel free to put all this into the background; I've risen it up in order to not forget completely :)) Regards, Dmitry. ""Hiroshi Saito"" wrote in message news:06e601c8044b$0cc89770$c601a8c0@HP22720319231... > Hi. > > Sorry, very late reaction....Surely it reproduces a problem. It seems that > it was missed at the time of some problem solutions. Probably, It seems to > be MOLE-BASHING completely.:-( > > However, The following is the one solution method.... > > ' strSql = "SELECT t1.* FROM t1 INNER JOIN t2 ON t1.b = t2.b ORDER BY > t2.c" > strSql = "SELECT t1.* FROM t1,t2 WHERE t1.b = t2.b ORDER BY t2.c" > > But, Investigation will be continued. > I appreciate your perseverance. Thanks! > > Regards, > Hiroshi Saito >