laptop and a wrench

Error

Applying a definition query to a feature class using the Add Clause option adds extra apostrophes before and after any commas that may be present within the attribute values.

Última publicación: December 4, 2017 ArcSDE/Enterprise Geodatabase
Número de ID del error BUG-000108931
EnviadoOctober 19, 2017
Última modificaciónJune 5, 2024
Relacionado conArcSDE/Enterprise Geodatabase
Versión encontrada10.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoDuplicate

Solución alternativa

  1. Open the Definition Query tab for the feature class again. Click on the 'SQL' button to manually edit the already applied clause.
  2. Edit the clause and remove the extra apostrophe (‘) which has been added before and after the comma between 'Hawaii, state' and 'Maine, state'.
  3. The clause originally displays: STATE_NAME IN ('Hawaii', 'state', 'Maine', 'state'). Change the SQL query to: STATE_NAME IN ('Hawaii, state', 'Maine, state')
  4. The attribute table refreshes and now displays the two records.

Note: There is another workaround in Step 3:

Change the SQL query from:

PROJECT_NAME IN ('Exmouth (Combined Operational Area)', 'Pluto/Brunello (Combined Operational Area)','Scarborough (Combined Operational Area')

to:

PROJECT_NAME IN ('Exmouth (Combined Operational Area)', 'Pluto/Brunello (Combined Operational Area)','Scarborough (Combined Operational Area)')

 

Pasos para reproducir

ID del error: BUG-000108931

Software:

  • ArcSDE/Enterprise Geodatabase

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