Topic by rsurujbhLinksys
Content
Hello,
When executing the following ROQL query using QueryCSV, we are getting the following SOAP error: "Poor performing query - too many rows examined". Understandable, due to the size of our database.
ROQL:
SELECT C.ID FROM Contact C WHERE C.Emails.EmailList.AddressType = 0 AND C.Emails.EmailList.Address LIKE 'user@domain.com'
It works fine when using the equals (=) operator. I am using LIKE to account for case insensitivity.
Any pointers?
The idea is to search for/return Contact ID using a contact’s primary email address as the only search criteria.
Thanks!