Hi,
Was getting Generic SQL Error while using ConditionOperator.Contains in the ConditionExpression. The requirement was to get all the incident records based on the title attribute value.
condExp.AttributeName = “title”;
condExp.Operator = ConditionOperator.Contains;
condExp.Values.Add(“test”);
The correct way to perform this kind of search is by using Like operator with %.
condExp.AttributeName = “title”;
condExp.Operator = ConditionOperator.Contains;
condExp.Values.Add(“%test%”);
Hope it helps.
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

Thanks Nishant!
LikeLike
Nishant…ConditionOperator.Like + the %Nishant% will work..thanks for the clue:)
LikeLike