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
james123apexjames123apex 

how to fetch account details

Best Answer chosen by james123apex
Malika Pathak 9Malika Pathak 9
list<account> Acclist = new list<account>();
Acclist = [SELECT id,name from Account limit 50000];

All Answers

Malika Pathak 9Malika Pathak 9
list<account> Acclist = new list<account>();
Acclist = [SELECT id,name from Account limit 50000];
This was selected as the best answer
Malika Pathak 9Malika Pathak 9
PLEASE MARK AS BEST ANSWER IF YOU FIND IT USEFUL