Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g4UMRdN05591
 for <oracle-l@naude.co.za>; Thu, 30 May 2002 18:27:39 -0400
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id HAA31984;
 Thu, 30 May 2002 07:26:02 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b71/bab) via UUCP id 0046F983; Thu, 30 May 2002 06:58:31 -0800
Message-ID: <F001.0046F983.20020530065831@fatcity.com>
Date: Thu, 30 May 2002 06:58:31 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Alexandre Gorbatchev" <alexandre.gorbatchev@avermann.de>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Alexandre Gorbatchev" <alexandre.gorbatchev@avermann.de>
Subject: Re: updated rows count
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 71; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

After each of 20,000 update statements?

Alexandre

> select SQL%ROWCOUNT
>
> after update...
>
> Igor Neyman, OCP DBA
> ineyman@perceptron.com
>
> The degree of normality in a database
> is inversely proportional to that of its DBA.
>
>
>
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L@fatcity.com>
> Sent: Thursday, May 30, 2002 9:48 AM
>
>
> Hi All!
> My client run big update 20,000 statements. I need to know how many rows
was
> updated (it's could be any number).
> I thinking about triggers , but this table can be updated not only with
this
> big update. Other users can update rows too.
> I need to know updated rows number just for this big update.
> Thanks.
>
> update assethdr set atopsys= 'MS Windows 95 4.00',atdept='256MB',
> atcapcty=850, atcapun=10000, atglcode='19.99GB', atus1='05/20/2002' where
> ataltnbr='0000000';
> update assethdr set atopsys= 'MS Windows 95 4.00',atdept='256MB',
atcapcty=
> 850, atcapun=10000, atglcode='19.99GB', atus1='05/17/2002' where
> ataltnbr='00000000';
> update assethdr set atopsys= 'MS Windows 2000 Pro 5.00',atdept='128MB',
> atcapcty= 400, atcapun=10000, atglcode='6.43GB', atus1='05/20/2002' where
> ataltnbr='00000296';
> ..............................
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Greg Faktor
>   INET: FAKTORG@wyeth.com
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Igor Neyman
>   INET: ineyman@perceptron.com
>
> Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California        -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Alexandre Gorbatchev
  INET: alexandre.gorbatchev@avermann.de

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

