Closed cmrRose closed 7 years ago
@swalljasper Here's an example of a case-insensitive way to query for a string value:
upper(RockType) LIKE '%CHERT%'
@swalljasper or a better option may be
query.where ="Upper(rockType) like '%" + rockTypeInput.toUpperCase() +"%'";
from https://geonet.esri.com/thread/33068#
I just tried query.where ="Upper(rockType) like '%" + "CHERT" +"%'"; which seems to work just fine.
List of example SQL queries: