laptop and a wrench

Bug

Queries with Czech or Slovak characters do not work on services when the data is stored in an SQL server database.

ArcGIS GIS Server
Bug ID Number BUG-000162080
SubmittedOctober 13, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS GIS Server
Version found11.1
Operating SystemWindows Server
Operating System Version2019 64 Bit
StatusAs Designed

Additional Information

The N prefix must be used while querying using a Unicode string against SQL Server. For reference, refer to https://support.esri.com/en-us/knowledge-base/problem-attribute-queries-using-unicode-strings-do-not-000009193.

Workaround

A possible workaround is to include the N prefix before the string to query.

Not working:

Field='<SearchText>'

Add N before the string and it supposedly works:

Field=N'<SearchText>'

Alternatively, instead of referenced publishing, publish with CopyOption, when suitable.

Steps to Reproduce

Bug ID: BUG-000162080

Software:

  • ArcGIS GIS Server

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options