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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Finding out how many rows were updated?

Re: Finding out how many rows were updated?

From: Paul Tomlinson <rubberducky703_at_hotmail.com>
Date: Mon, 22 Dec 2003 11:18:10 -0000
Message-ID: <bs6jtj$9sfap$1@ID-116287.news.uni-berlin.de>


Thanks All,

"Sybrand Bakker" <gooiditweg_at_sybrandb.demon.nl> wrote in message news:r3m6uvgq33ovk6nspkjik23eb0clqmr0m7_at_4ax.com...
> On 19 Dec 2003 11:51:17 -0800, seaelephant_at_hotmail.com (dx) wrote:
>
> >You can't use sql%rowcount in "returning into" clause.
> >
> >try this:
> >
> >UPDATE COMPANIES
> >SET CONTACT = p_contact
> >WHERE COMPANY_ID = p_CompanyID;
> >
> >v_noupdated := sql%rowcount;
>
>
> in Pro*C the sqlca will contain the number of rows processed
>
>
> --
> Sybrand Bakker, Senior Oracle DBA
Received on Mon Dec 22 2003 - 05:18:10 CST

Original text of this message

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