How to make DPQuery case insensitive?

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
AngusETM
Posts:37
Joined: Tue Apr 25, 2017 4:48 pm

How to make DPQuery case insensitive?

Post by AngusETM »

Hi all,

We're wondering whether anyone knows how to make DPQuery case insensitive. Is there any syntax or particular method to do this?

Here’s the query. It queries the name field using data from string sCurrentSelWild.

"SELECT '_original.._value' FROM '*.GIS.Name*' WHERE '_original.._value' LIKE \\""+sCurrentSelWild+"\\"";


Right now the query works, but it is case sensitive. We've tried using the typical "UPPER" and "LOWER" techniques but couldn't get this to work.


Regards,

Angus Heyworth

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: How to make DPQuery case insensitive?

Post by kilianvp »

Hi,

No it's not possible. Queries always case sensitive. It's no real SQL

2 posts • Page 1 of 1