learn4sfdc
Basic Learning about Salesforce.com (SFDC)
Menu
APEX
Apex Trigger
CSS
Data Loader
Eclipse
Integration
Interview Questions
Salesforce Interview Questions.
Showing posts with label
lock record using SOQL so that it cannot be modified by other user
.
Show all posts
Showing posts with label
lock record using SOQL so that it cannot be modified by other user
.
Show all posts
Tuesday, January 28, 2014
How can you lock record using SOQL so that it cannot be modified by other user
How can you lock record using SOQL so that it cannot be modified by other user
we will need “FOR UPDATE” clause of SOQL.
Sample :
Account [] accts = [SELECT Id FROM Account LIMIT 2 FOR UPDATE];
Older Posts
Home
Subscribe to:
Posts (Atom)