Select to view content in your preferred language

ArcGIS Server query

6534
11
Jump to solution
08-26-2015 10:58 AM
ShaningYu
Frequent Contributor

I tested a query on a FC in ArcMap and the published mapservice layer in ArcGIS Server simultaneously.   In ArcMap, the query is not case-sensitive.  However, it is case sensitive in ArcGIS Server.  Is there a way to set the query case-insensitive in the published service layer?  Thanks.

0 Kudos
11 Replies
ShaningYu
Frequent Contributor

Sorry.  Should be Search Tool - Case sensitive

0 Kudos
DavidParsons1
New Contributor II

Just be sure to check .. on *very large* record sets .

by using constructs like this :-

lower(Comments) like '%coral%'

upper(Comments) like '%CORAL%'

you may prevent the underlying database from using any indexes on, in this case, the 'Comments' column. The index may be case sensitive, and as soon as the DB sees a function applied to column in may not be able to rely on the index and so will often ignore it, forcing a full table scan and causing a potential performance hit.

May not apply in your case .. just a heads up