Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: # of rows processed
This is a multi-part message in MIME format.
--------------D77AAE50C4A5A9DB6B10331A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit
M. Thomas Groszko wrote:
> From within PL/SQL is there a way to identify the number of rows processed
> by the last statement as I can do with the sqlca.errcd[2] using embedded
> SQL in my C++ program?
Try using sql%rowcount when using dml statements in PL/SQL, I use it to make sure my delete/update statements performed the action on the # of rows i expected.
HTH, joe
-- Joseph S. Testa, Oracle Database Administrator Are you looking for Oracle DBA in Central Ohio, but only want one for some part-time work? try http://web.scioto.net/jtesta That is also the place to find the FREE, "how do I build a second, third, etc, instance, without using oracle's installer, database scripts. ICQ UIN: 2814105(Joe-N8XCT, Home) UIN: 2832230(&oracle, work). --------------D77AAE50C4A5A9DB6B10331A Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Joseph S. Testa Content-Disposition: attachment; filename="vcard.vcf" begin: vcard fn: Joseph S. Testa n: Testa;Joseph S. org: Origin Technology in Business adr: ;;;;OH;;USA email;internet: jtesta_at_scioto.net title: Oracle DBA note: Oracle DBA in central Ohio and doing geneaology research on Testa family, I have 2 ICQ uins, home: 2814105, work 2832230, you can also find me on netscape conference. x-mozilla-cpt: ;0 x-mozilla-html: FALSE version: 2.1 end: vcard --------------D77AAE50C4A5A9DB6B10331A--Received on Sun Sep 28 1997 - 00:00:00 CDT