laptop and a wrench

漏洞

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.

上次发布: December 4, 2017 ArcSDE/Enterprise Geodatabase
漏洞 ID 编号 BUG-000108931
已提交October 19, 2017
上次修改时间June 5, 2024
适用范围ArcSDE/Enterprise Geodatabase
找到的版本10.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Duplicate

解决办法

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

 

重现步骤

漏洞 ID: BUG-000108931

软件:

  • ArcSDE/Enterprise Geodatabase

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项