Retrieve Number of rows to be DELETEd

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: "\"Matthew V(dot)\" <" <linux4us(at)earthlink(dot)net>
Cc: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Retrieve Number of rows to be DELETEd
Date: 2002-11-18 14:09:02
Message-ID: 15832.62590.186407.827432@kelvin.csl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Take a look in: sqlca.sqlerrd[2]

Lee.

"\"Matthew V.\" writes:
> I'm using ECPG and embedded SQL. In the C interface, there is a
> PQcmdTuples() command which returns the number of rows affected by an SQL
> statement. In embedded SQL, other than doing a SELECT count(*) first, is
> there a way to get the number of rows that may be/were affected by a
> delete or update?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Bowlby 2002-11-18 14:12:12 Re: Inquiry From Form [pgsql]
Previous Message Alvaro Herrera 2002-11-18 14:07:19 Re: Authorise root as postgres