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

plz check here contact name is what to update...
list<contact> coc=[select id,name from contact where name = ' bhanusfdc nayakudu' ];
for(contact ct : coc){
ct.name = 'bhanu start game';
}
update coc;
for(contact ct : coc){
ct.name = 'bhanu start game';
}
update coc;
Try this : In standard Contact Object, you can query with 'Name' but to update you have to use 'FirstName' or 'LastName' or both.
Regards,
Ajay
All Answers
Try this : In standard Contact Object, you can query with 'Name' but to update you have to use 'FirstName' or 'LastName' or both.
Regards,
Ajay