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
Shanky77Shanky77 

Delete Procedure without hiting Gov Limit

How to perform delete operation when thousands of records are to be removed at one stroke without hitting the governer limit.
Leah_SeatleLeah_Seatle
You would never want to delete thousands of records lightly. However, if you need to process a large amount of records at one time, use Batch Apex.