SqlPredicate query is case sensitive or insensitive

282 views
Skip to first unread message

chinna

unread,
Jun 4, 2014, 2:11:24 PM6/4/14
to haze...@googlegroups.com

Is SqlPredicate query of string expressions is case sensitive or insensitive?
If it is case sensitive, is there a way in query to add ignore case for string expression.
Issue is user provides in data in case in sensitive when search with same data its not working looks like its case sensitive 'abC' is different from 'ABc' 

Please help me.

Thanks in advance

Jaromir Hamala

unread,
Jun 5, 2014, 9:29:22 AM6/5/14
to haze...@googlegroups.com
Hi,

if you = or == for comparison then I believe it's case sensitive. 

You can use the 'ilike' or the 'regepx' operators instead of the = . See this for example on syntax: 

Cheers,
Jaromir 
Reply all
Reply to author
Forward
0 new messages