laptop and a wrench

Bug

The Select By Attributes tool does not generate the correct SQL syntax for records with a single quotation mark, and returns the following error message: "ERROR 000358: Invalid expression. Failed to execute (SelectLayerByAttribute)".

ArcGIS Pro
Bug ID Number BUG-000158272
SubmittedMay 12, 2023
Last ModifiedSeptember 13, 2024
Applies toArcGIS Pro
Version found3.1.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed3.2
StatusFixed

Additional Information

This issue is addressed in ArcGIS Pro 3.2.

Workaround

Enable SQL and enclose the string with a single quotation mark manually.

Steps to Reproduce

Bug ID: BUG-000158272

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