Re: Rows affected - Mailing list pgsql-sql

From Gaetano Mendola
Subject Re: Rows affected
Date
Msg-id 00e601c2182b$b0e36c70$5090fea9@GMENDOLA2
Whole thread Raw
In response to Rows affected  (Rudi Starcevic <rudi@oasis.net.au>)
List pgsql-sql
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



pgsql-sql by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: SQL performance issue with PostgreSQL compared to
Next
From: Joachim Trinkwitz
Date:
Subject: Re: Aggregates not allowed in WHERE clause?