You need to sign in to do that
Don't have an account?
Cable Guy.ax375
Delete 200 Records Each Time
Can anyone give me the sample code of deleting 200 records each time for a table of 50000 records? I'm using SFDC Java API version 7.
Thanks,
If i was writing it, i'd structure it like this
set batch size to 200
query for the ids
loop
read the ids from the currents results into an array
call delete
exit if done
call querymore
loop end