DML Limits
-DML governing limits:
To rectify this type of erros by using bulkify operations which is put similar operation on object in the list and invoke the DML on the List.
System.debug('Before DmlStatements : ' + Limits.getLimitDmlStatements()); System.debug('Before DmlRows : ' + Limits.getDmlRows()); //DML queries... System.debug('After DmlStatements : ' + Limits.getLimitDmlStatements()); System.debug('After DmlRows : ' + Limits.getDmlRows());
-SOQL governing limits:
-DML records should not be more than 10,000
Redirecting BACK to the original page Force.com site vs. Site.com