May 2019
Intermediate to advanced
546 pages
12h 41m
English
The user can update records when he/she has the profile access Edit on the respective object to update. When you need to update records with a DML statement, there is always one item required: the recordId. You cannot update a record without the 15-or-18 character-long identifier of that record.
The use of the DML statements to update is more or less the same as the statements for inserting records. Instead of the insert statement (to insert records), we now use the update or Database.update(Object) statement. Let's update some records:
Read now
Unlock full access