laptop and a wrench

Bug

In ArcGIS Pro, applying SQL query on the shape field in a label class fails with "The SQL expression has invalid syntax" for spatial tables not registered with the geodatabase.

Last Published: October 25, 2019 ArcGIS Pro
Bug ID Number BUG-000126097
SubmittedOctober 17, 2019
Last ModifiedJuly 1, 2025
Applies toArcGIS Pro
Version found2.4.1
Operating SystemWindows OS
Operating System Version7.0 64 Bit
Version Fixed2.9
StatusFixed

Workaround

If possible, register the spatial table with the geodatabase. The issue is also not reproducible in ArcMap.

Steps to Reproduce

Bug ID: BUG-000126097

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