Difference between Insert and Database.Insert


Database.Insert
Insert
Partial Insert is supported.
Partial Insert is not supported.
In bulk operation, if error occurs, the remaining records will be inserted i.e. partial DML operation.
In bulk operation if error occurs, the execution will stop and throws an error.

Cheers!!!

No comments:

Post a Comment