laptop and a wrench

Erro

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

Última Publicação: September 22, 2021 ArcGIS Pro
Número de ID do Erro BUG-000141724
EnviadoJuly 27, 2021
Última ModificaçãoApril 11, 2025
Aplica-se àArcGIS Pro
Versão encontrada2.8
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0
StatusKnown Limit

Informações Adicionais

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

Solução Provisória

  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.

Etapas para Reproduzir

ID do Erro: BUG-000141724

Software:

  • ArcGIS Pro

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download