// Create 2000 Test Account Records Account[] al = new Account[]{}; for(Integer i=1; i<=2000;i++){ al.add(new account( name = 'Test Account - ' + String.valueOf(i).leftPad(4,'0'))); } insert al;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter