Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Account a = [SELECT id, name, description FROM Account LIMIT 1];
a.description = 'This code with person accounts on is like playing russion roulete';
update a; //DMLException if you got a person account, works otherwise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment