Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update performance

Status
Not open for further replies.

ETLMaster

Programmer
Sep 30, 2002
14
0
0
US
Hi there,
I'm running a PL/SQL script that is doing updates using a statement like this:

update t set
id = decode(id,a,b,id),
id1 = decode(id1,a,b,id1),
and so on.

This statement is being invoked within a forall statement so I'm avoiding the expensive SQL-PL/SQL context switch. Is there any other way to improve the performance of this update staetement?

Thanks in advance!
 
In most cases you may improve performance by optimizing your WHERE clause, but in this case I can sugest nothing :) Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top