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?