Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Large Update .. Please Advice
Try with this
UPDATE tvbill_cis_co_cdrs a
SET
(a.orig_called_number,a.release_source,a.h323_voice_quality,a.gtd_term_cic,a.coder_type_rate)
=
(SELECT DECODE(H323CALLTYPE||H323CALLORIGIN ,
'TA',ORIGCALLEDNUM,NULL),
RELEASESOURCE, H323VOICEQUALITY, GTDTERMCIC, CODERTYPERATE
FROM cisco_updates b
WHERE ROWID BETWEEN 'AAAEeJABwAAAAAJAAA' AND
'AAAEeJABwAAAXQICcQ'
AND b.h323confid=a.h323_conf_id AND b.h323calltype=a.h323_call_type AND b.H323CALLORIGIN=a.h323_call_origin AND b.h323connecttime=a.h323_connect_time AND b.acctoutoctets=a.acct_output_octetsAND
First look for explanin plan with index and without index, Basing on the best plan go for one. What is the significan use of rownum in the subquery.
all the best
Raja Sekhar
Received on Mon Jan 31 2005 - 17:10:29 CST
![]() |
![]() |