+ Start a Discussion

Number of Records in DML limit

Do we have a limit of one thousand records that can be processed per DML statement? I believe, that was to do with the earler collection limit of one thousand records. Since, there is no limit on number of records in the collection, do we still have a limit on the number of records processed per DML statement. Please advice.


Yes.  Additional limitations on DML in Triggers as well due to 200 possible elements in trigger array (ie - needs to be bulkified). 




It depends on where the code is running, if inside a test method, a trigger , a class, etc.


The limit is the amount of total records queried, you no longer have a limit in collections.


Thanks. Code is running inside the class