Salesforce Fact #716 | Using LIKE operator in dynamic SOQL
How to use LIKE operator in dynamic SOQL? We can use a separate string variable to store the pattern part which includes the symbol '%' and use this as a bind variable or we can use extra single quotes before and after of '%'.
Reference: https://developer.salesforce.com/forums/?id=906F000000093YjIAI
Attached is the screenshot.
Comments
Post a Comment