laptop and a wrench

漏洞

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

上次发布: September 22, 2021 ArcGIS Pro
漏洞 ID 编号 BUG-000141724
已提交July 27, 2021
上次修改时间April 11, 2025
适用范围ArcGIS Pro
找到的版本2.8
操作系统Windows OS
操作系统版本10.0
状态Known Limit

附加信息

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

解决办法

  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.

重现步骤

漏洞 ID: BUG-000141724

软件:

  • ArcGIS Pro

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项