Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: How to count the affected number of rows?

Re: How to count the affected number of rows?

From: Bob Withers <bwit_at_pobox.com>
Date: Sun, 21 Jun 1998 07:05:03 -0500
Message-ID: <MPG.ff6b2e815a87a7d9896c9@news.swbell.net>


[This followup was posted to comp.databases.oracle.server and a copy was sent to the cited author.]

In article <358B198B.8C3C542E_at_hkstar.com>, raycf_at_hkstar.com says...
> Hello,
> I am using Pro*C to call an update statement. After that, I assure
> the call success by examining the sqlca.sqlcode equal to zero.
>
> But how can I know how many rows are updated?
>
> Thanks in advance for your answers.
>

Raymond,

After a insert, update, or delete, the number of rows affected can be obtained from slqca.sqlerrd[2].

Regards,
Bob

--

Bob Withers              Do or do not, there is no try.
bwit_at_pobox.com                                  Yoda
Received on Sun Jun 21 1998 - 07:05:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US