Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 2158A9FB2B7 for ; Fri, 2 Feb 2007 14:18:31 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 94036-01 for ; Fri, 2 Feb 2007 14:18:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id B0FF49FB2B3 for ; Fri, 2 Feb 2007 14:18:14 -0400 (AST) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1HD3AZ-0004Gx-50 for pgsql-sql@postgresql.org; Fri, 02 Feb 2007 13:29:55 -0500 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 710014051; Fri, 2 Feb 2007 13:18:08 -0500 (EST) Date: Fri, 2 Feb 2007 13:18:08 -0500 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Nocount and scope_identity() Message-ID: <20070202181808.GG11505@phlogiston.dyndns.org> References: <136ED738BD4F1545B97E4AC06FF6370734C25B@DMSP-MSG-EVS01.mail.pvt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <136ED738BD4F1545B97E4AC06FF6370734C25B@DMSP-MSG-EVS01.mail.pvt> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/23 X-Sequence-Number: 27357 On Fri, Feb 02, 2007 at 11:49:30AM -0600, Demel, Jeff wrote: > So, I'm wondering if NOCOUNT is supported in Postgres at all. If it's > not, what's the alternative? If it is, what is wrong with my syntax? Not as far as I know. What's it supposed to do? > I haven't gotten there yet, but I'm also wondering if the > SCOPE_IDENTITY() method is going to work or not. I doubt it. What does it do? A -- Andrew Sullivan | ajs@crankycanuck.ca This work was visionary and imaginative, and goes to show that visionary and imaginative work need not end up well. --Dennis Ritchie