function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
THUNDER CLOUDTHUNDER CLOUD 

How many records we can insert using trigger ?

ManojSankaranManojSankaran
Hi,

below is the salesforce limit

Total number of DML statements issued  --- 150
Total number of records processed as a result of DML statements - 10,000


So u can insert maximum of 150 * 10000 records in a single transaction



If this solves your query. Mark it as answer


Thanks
Manoj S
Abhijeet Anand 6Abhijeet Anand 6
A list or map cannot process more than 10000 DML rows in a single transaction & we cannot use more 150 DML statements in a single transaction.
Therefore, you won't be able to insert more than 10000 * 150 = 15,00,000 in a single transaction