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개
  1. 2023년 1월 10일 오후 3:51

    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.