laptop and a wrench

Error

The Select By Attributes tool fails to generate the correct SQL syntax when a field’s domain code contains a single quotation mark, causing it to return the ‘Error 000358: Invalid expression’ error message.

ArcGIS Pro
Número de ID del error BUG-000181347
EnviadoDecember 2, 2025
Última modificaciónDecember 11, 2025
Relacionado conArcGIS Pro
Versión encontrada3.3.7
Sistema operativoWindows Server
Versión de sistema operativo2022
EstadoNon-Reproducible

Información adicional

This issue has been tested and is not reproducible in the latest version of ArcGIS Pro 3.6.

Solución alternativa

Enable SQL mode and manually escape the string by adding the second single quotation mark:

'Castel D''Azzano'.

Pasos para reproducir

ID del error: BUG-000181347

Software:

  • ArcGIS Pro

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga