-
Query Exception
I got error "System.QueryException: Non-selective query against large object type (more than 100000 rows)" when i used in my prod environment. This is due to the no. of records in the org which are queried are about 3 lacs.What should be done in this case to counter this error. I am using query as leadlist=[select id from Lead where phone IN:phone] here phone is a standard field
Log In to reply.
Popular Salesforce Blogs
Spring'24 Updates in Salesforce for Developers
This article is prepared by our Salesforce Developer Aliaksandr Sheuka. Apex Enhancements Null Coalescing Operator (??) The ?? operator returns the left-hand argument if the…
Master the Art of Customer Service with Case Management | Salesforce
What is the top priority for any business today? If you anticipated it as ‘Customer Experience’, you are probably right. Recent research found that nearly…
Popular Salesforce Videos
Marc Benioff & Aneel Bhusri On Ensuring a Safe Return to Work | Leading Through Change | Salesforce
In this week’s Leading Through Change, join Aneel Bhusri the Co-Founder and CEO of Workday and Marc Benioff the Chair and CEO of Salesforce as…
Salesforce Stock CRM Huge News!
Why is Salesforce Stock CRM Stock going UP? Is Salesforce stock a buy? Should I buy CRM Stock? Is Salesforce stock a good investment? In…
Salesforce Apex Trigger Best Practices | Learn Salesforce Series By Algoworks
In this video, the following points will be covered - 1. One Trigger Per Object 2. Logic-less Triggers 3. Context-Specific Handler Methods 4. Code Bulkification…