+ Start a Discussion
vivworldvivworld 

data scrambling- very very urgent

I have 3 fields in contact object like FirstName , LastName, Email. I have more then 1000 records. I want to write batch apex class , so that after running that batch class contact FirstName from first row will tale Contact LastName from 2nd row. Contact LastName from first row will take Contact FirstName from 3 rd row, and Contact Email from first row will take Contact Email from 4 th row...and vice versa.