• Sowjanya Vaddi
  • NEWBIE
  • 10 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Too many query rows: 50001-- I placed LIMIT for SOQL query ,still getting this error,please suggest me solution to resolve
Too many query rows: 50001-- I placed LIMIT for SOQL query ,still getting this error,please suggest me solution to resolve

Hi,

 

I need to count the TOTAL Record of Account Object using SOQL and display the record count in the Visualforce page, I am already having more than 50,000 records. How can I get the record count and display the total record count in VF Page? Is there is any other way to get the count in Vf page?

 

Thanks,

Arunraj