Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

mass delete form database or using the SET statement

Former Member
0 Likes
408

Hi

I i need to update in a custom table on the database ( it's only one column)

Which is more performance doing a mass update that is

Update datab from itab

or usgin update datab set xxx where xxx = xxx ( this will be found in a loop)

note that i still need to do loop to enqeue the data

1 ACCEPTED SOLUTION
Read only

venkat_o
Active Contributor
0 Likes
371

Hi,

Update datab from itab
<li>Get the data to itab(type dbtable) and loop the itab table and change the column and after LOOP-ENDLOOP use above statement instead of hitting database for every loop. Thanks Venkat.O

Edited by: Venkat.O on Mar 17, 2010 2:02 PM

1 REPLY 1
Read only

venkat_o
Active Contributor
0 Likes
372

Hi,

Update datab from itab
<li>Get the data to itab(type dbtable) and loop the itab table and change the column and after LOOP-ENDLOOP use above statement instead of hitting database for every loop. Thanks Venkat.O

Edited by: Venkat.O on Mar 17, 2010 2:02 PM