Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0I5IOV18227 for ; Fri, 18 Jan 2002 00:18:24 -0500 (EST) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.5.2) with HTTP id 622700; Thu, 17 Jan 2002 21:18:27 -0800 From: "Josh Berkus" Subject: Re: UPDATE Query problem To: Tom Lane , "Josh Berkus" Cc: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.2 Date: Thu, 17 Jan 2002 21:18:27 -0800 Message-ID: In-Reply-To: <3909.1011327258@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200201/216 X-Sequence-Number: 6300 Tom, > Oh, I'm sorry: forgot the extra qualification on the innermost SELECT: > > AND oldest.timestamp < history.timestamp Hmmm ... I'll try both solutions tommorrow. That is, I'll see if they port across databases ... > > Yeah, you guessed it ... MS SQL Server 7. > > I dunno, how good is SQL Server on subselects? Not very good. A lot of stuff, like subselects in the SELECT line, is not supported. And MS has gotten further from the SQL standard with each update since SQL Server 7.0 ... -Josh ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco