pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Rudi Starcevic <rudi@oasis.net.au>
To: pgsql-sql@postgresql.org
Subject: Re: Rows affected
Date: Thu, 20 Jun 2002 09:25:44 +0200
Message-ID: <00e601c2182b$b0e36c70$5090fea9@GMENDOLA2> (raw)
References: <3D11539F.6020401@oasis.net.au>

Try after your operation:

GET DIAGNOSTICS my_rows = ROW_COUNT;


----- Original Message ----- 
From: "Rudi Starcevic" <rudi@oasis.net.au>
To: <pgsql-sql@postgresql.org>
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




view thread (2+ messages)

Message-ID: <00e601c2182b$b0e36c70$5090fea9@GMENDOLA2>
Permalink:  ../00e601c2182b$b0e36c70$5090fea9@GMENDOLA2/
Also on:    postgresql.org/message-id/00e601c2182b$b0e36c70$5090fea9@GMENDOLA2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mendola@bigfoot.com, rudi@oasis.net.au
  Subject: Re: Rows affected
  In-Reply-To: <00e601c2182b$b0e36c70$5090fea9@GMENDOLA2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox