-
Is there any way in query to do Like against a List of Values?
Hi All,
Is there any way in query to do Like against a List of Values?
SELECT Id FROM Account WHERE Name LIKE IN:listName
where listName is a list of string. I can make a dynamic query by doing OR with all the elements, but I was looking for a more elegant way to do this.
Thanks
Log In to reply.
Popular Salesforce Blogs
Setting up a Successful Email Marketing using Salesforce
Using a reliable CRM platform is essential for a business's long-term success which is where Salesforce comes into play. According to Salesforce data, 60% of…
Introducing Salesforce Starter For Indian Business
In today's competitive landscape, micro, small, and medium-sized enterprises (MSMEs) in India strive to stand out, enhance customer experiences, and drive revenue. To address these…
Employee Onboarding Made Easy With Walk-Throughs on Salesforce-Powered Communities
We are currently in the midst of a learning revolution. Technology has given us the tools to build learning programs that meet individual learners where…
Popular Salesforce Videos
Security in Salesforce | Learn About the Security Levels in Salesforce
This "𝐒𝐞𝐜𝐮𝐫𝐢𝐭𝐲 𝐢𝐧 𝐒𝐚𝐥𝐞𝐬𝐟𝐨𝐫𝐜𝐞" video by Edureka will help you understand the different levels of security in Salesforce. It will also talk about some of…
Salesforce DX Keynote: Continuous Development on the Lightning Platform
Calling all developers for a deep dive into how everyone, whether you click or code, can build on the Lightning Platform! Join us and learn…
Salesforce Triggers Part-1
A trigger is an Apex script that executes before or after data manipulation language (DML) events occur. Apex triggers enable you to perform custom actions…