Activity › Forums › Salesforce® Discussions › difference of dml and database.dml in Salesforce? Salesforce® Discussions difference of dml and database.dml in Salesforce? Posted by Shubham on January 22, 2020 at 6:09 PM what is the difference in dml and database.dml? krati vishnoi replied 6 years, 4 months ago 2 Members · 1 Reply 1 Reply krati vishnoi Member January 23, 2020 at 6:37 AM The main difference is the handling of bulk operations. In bulk DML processing , if exception is thrown whole processing is stopped. Whereas, Database.DML allows partial success. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me