DML stands for Data Manipulation Language and it enables you to:

  • Insert new records in Salesforce
  • Update existing records
  • Upsert records
  • Delete records from the database
  • Undelete or restore records from the recycle bin

DML Standalone Statements:

  • Standalone DML statements can be used to perform DML operations. But if even a single record errors out in the entire list of records then the entire operation is rollbacked.

Syntax: insert sObject or list of sObjects

update

delete

upsert

undelete 

Our Recent Blog

Share This Post