Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 9E635475C98 for ; Thu, 20 Jun 2002 03:26:37 -0400 (EDT) Received: from pns.mm.eutelsat.org (unknown [194.214.173.227]) by postgresql.org (Postfix) with ESMTP id 75E01475F75 for ; Thu, 20 Jun 2002 03:25:59 -0400 (EDT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id g5K7Oln25282; Thu, 20 Jun 2002 09:24:47 +0200 Received: from dell-01.mm.eutelsat.org (IDENT:root@dell-01.mm.eutelsat.org [194.214.173.17]) by nts-03.mm.eutelsat.org (8.9.3/8.8.7) with ESMTP id IAA17031; Thu, 20 Jun 2002 08:18:33 +0200 Received: from GMENDOLA2 (gmendola2.mm.eutelsat.org [194.214.173.26]) by dell-01.mm.eutelsat.org (8.11.2/8.8.7) with SMTP id g5K7OUL12995; Thu, 20 Jun 2002 09:24:30 +0200 Message-ID: <00e601c2182b$b0e36c70$5090fea9@GMENDOLA2> From: "Gaetano Mendola" To: "Rudi Starcevic" , References: <3D11539F.6020401@oasis.net.au> Subject: Re: Rows affected Date: Thu, 20 Jun 2002 09:25:44 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200206/267 X-Sequence-Number: 8232 Try after your operation: GET DIAGNOSTICS my_rows = ROW_COUNT; ----- Original Message ----- From: "Rudi Starcevic" To: Sent: Thursday, June 20, 2002 6:01 AM Subject: [SQL] Rows affected > Hello friends, > > We're using Postgresql with PHP, Perl and ColdFusion for web development. > With PHP and Perl we have functions to find out the number of rows > affected by an insert /update/ delete. > I'm wondering if anyone has experience getting the affected row count > with ColdFusion. > For example in PHP we have the pg_cmdtuples function. > Perhaps there's and sql or built in Pg function I can call from a > query/sql statement. > > Your advice is greatly appreciated. > Thanks > Best regards > Rudi Starcevic. > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly