• DmitriyRybalsky
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,

 

error while using aggregate function.

System.LimitException: Too many query rows: 58309


SELECT SUM(RI_Production_Goals_Next_Year__c) FROM Contact  WHERE recordtypeid = '012400000005OLAAA2'

 

how to avoid this??