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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: merge statemet

Re: merge statemet

From: Tanel Põder <tanel.poder.003_at_mail.ee>
Date: Mon, 15 May 2006 22:48:40 +0800
Message-ID: <025e01c6782e$aaae82b0$6401a8c0@porgand>


Or select count(*) before and after the merge has been run. If you know how many rows were in the merged set, you can calculate the number of updated & inserted rows from there.

Tanel.

> It seems that either triggers with a counter or some additional column
> in the table is an option. Although with additional column (and
> following requery) the very purpose of MERGE statement is somewhat
> discarded and triggers also isn't performance boosters ;)
>
> Gints

--
http://www.freelists.org/webpage/oracle-l
Received on Mon May 15 2006 - 09:48:40 CDT

Original text of this message

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