laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: December 4, 2017 ArcSDE/Enterprise Geodatabase
Bug-ID-Nummer BUG-000108931
EingereichtOctober 19, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcSDE/Enterprise Geodatabase
Gefunden in Version10.1
BetriebssystemWindows OS
Betriebssystemversion10.0 64 Bit
StatusDuplicate

Workaround

  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)')

 

Schritte zur Reproduzierung

Bug-ID: BUG-000108931

Software:

  • ArcSDE/Enterprise Geodatabase

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln