laptop and a wrench

Bug

The Query Builder in ArcGIS Pro 2.1.2 returns the error, "The SQL Expression has invalid syntax" when adding a definition query to a shapefile using a field named, 'Group'.

Last Published: May 21, 2019 ArcGIS Pro
Bug ID Number BUG-000112271
SubmittedMarch 8, 2018
Last ModifiedMay 12, 2025
Applies toArcGIS Pro
Version found2.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusNon-Reproducible

Workaround

  1. Add another field called, 'Groups' and calculate all values into it.
  2. Import the shapefile into a file geodatabase.
  3. Manually enter the SQL query in the SQL window instead of using the Query Builder.

Steps to Reproduce

Bug ID: BUG-000112271

Software:

  • ArcGIS Pro

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