Skip to main content
  • Standard object - how to truncate data from the standard objects
  • Custom object - delete data using the developer console. The following fails for limit issues

          List <Contact> l = [Select id from Contact];

          delete l;

2 respuestas
  1. 10 ene 2023, 3:51 p.m.

    Trevor, 

    This lets me delete 250 rows at a time. But I am trying to find out if there is a way to truncate the table.