You need to sign in to do that
Don't have an account?

Adding a new custome field into contact and need all the old record with the new defualt value
Hi, I am adding a new drop down field to Contacts object. The drop down is Defaulted to Yes. I need to have all the old records in contact to be updated to Yes value as well. do i write a trigger? if so how do I write it?

You need to write a batch class for this. Make sure triggere do not get fired on update.