function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Use this query to retrieve accounts.
List<Account>acc=[select id,name,type,description from account limit 50000];
Thanks
Anil.B
List<Account> accList = [Select id,Name from Account ] ;
List<Contact> conList = [Select id,LastName from Contact ] ;
in addition you can use additional fields api name to fetch them.