laptop and a wrench

Bug

The error message, "Invalid Expression" is returned when using Select Layer by Attribute with large query expressions.

Zuletzt veröffentlicht: September 22, 2021 ArcGIS Pro
Bug-ID-Nummer BUG-000141724
EingereichtJuly 27, 2021
Zuletzt geändertApril 11, 2025
Gilt fürArcGIS Pro
Gefunden in Version2.8
BetriebssystemWindows OS
Betriebssystemversion10.0
StatusKnown Limit

Zusätzliche Informationen

Use the IN clause to shorten the length of the WHERE clause.

Workaround

  1. Open the project in ArcGIS Pro.
  2. Open the Select By Attributes tool.
  3. Under Expression, click the Edit SQL mode button to switch to the SQL mode.
  4. In Expression, in the first line, type the following formula: GLOBALID IN (.
    1. Press Enter twice. 
    2. Copy all the Global IDs and paste them into the Expression box. 
    3. Press Enter twice.
    4. Type ).
  5. The Select By Attributes tool works successfully for all 5000 records and generates complete results.

Schritte zur Reproduzierung

Bug-ID: BUG-000141724

Software:

  • ArcGIS Pro

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