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
leorleor 

Check record value through SOQL,facing governer limit

I have field on account.client ID
Now whenever on update of account i want to query on account to get all client Id
Then i want to comepare already existed client Id with new account field value

so for this i am quering SOQL query on acccount which is cuauing governer limit exception
what is right to way to check a value if through SOQL its crossing governer limit