>Hi All!=0D
>My client run big update 20,000 statements. I need
>to know how many rows wa=
>s updated (it's could be any number). =0D
>I thinking about triggers , but this table can be
>updated not only with thi=
>s big update. Other users can update rows too.=0D
>I need to know updated rows number just for this
>big update.=0D
>Thanks.=0D
>=0D
>update assethdr set atopsys=3D 'MS Windows 95
>4.00',atdept=3D'256MB', atcap=
>cty=3D850, atcapun=3D10000, atglcode=3D'19.99GB',
>atus1=3D'05/20/2002' wher=
>e ataltnbr=3D'0000000';=0D
>update assethdr set atopsys=3D 'MS Windows 95
>4.00',atdept=3D'256MB', atcap=
>cty=3D 850, atcapun=3D10000, atglcode=3D'19.99GB',
>atus1=3D'05/17/2002' whe=
>re ataltnbr=3D'00000000';=0D
>update assethdr set atopsys=3D 'MS Windows 2000 Pro
>5.00',atdept=3D'128MB',=
> atcapcty=3D 400, atcapun=3D10000,
>atglcode=3D'6.43GB', atus1=3D'05/20/2002=
>' where ataltnbr=3D'00000296';=0D
>............................=0D
>=0D
>=0D

Several solutions. SELECT COUNT(*) with the same WHERE clause is an obvious solution.
Checking ROWS_PROCESSED before and after the run in V$SQLAREA for the relevant line 
may be another option. Tracing the process is possible too.

Regards,

Stephane Faroult
Oriole
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroul
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to