From: | "Gaetano Mendola" <mendola(at)bigfoot(dot)com> |
---|---|
To: | "Rudi Starcevic" <rudi(at)oasis(dot)net(dot)au>, <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Rows affected |
Date: | 2002-06-20 07:25:44 |
Message-ID: | 00e601c2182b$b0e36c70$5090fea9@GMENDOLA2 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Try after your operation:
GET DIAGNOSTICS my_rows = ROW_COUNT;
----- Original Message -----
From: "Rudi Starcevic" <rudi(at)oasis(dot)net(dot)au>
To: <pgsql-sql(at)postgresql(dot)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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
From | Date | Subject | |
---|---|---|---|
Next Message | Joachim Trinkwitz | 2002-06-20 08:05:29 | Re: Aggregates not allowed in WHERE clause? |
Previous Message | Achilleus Mantzios | 2002-06-20 07:16:11 | Re: SQL performance issue with PostgreSQL compared to |