Quantcast
Channel: CRM Development Forum
Viewing all articles
Browse latest Browse all 888

Query Expression with Like operator

$
0
0

Hi,

I want to retrieve the Customer details based on a string which contains Customer FirstName.

For Example: if the string is "Hello Maria, How are you?" then i need to retrieve the Customer record which having FirstName as "Maria", if I try it from sql query then I can use Sql query as:

SELECT * FROM Customer WHERE "Hello Maria, How are you?" LIKE "%"+firstName+"%"

But as I am working on CRM 2011 plugin I will prefer to use query expression instead of above SQL Query.

Can anyone please tell me that how we can write the same Query in form of QueryExpression?

Thanks,

Shaleen


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>