laptop and a wrench

漏洞

Error on a query expression when using the query builder on a joined data using OS authentication schema.

上次发布: April 25, 2019 ArcGIS Pro
漏洞 ID 编号 BUG-000121121
已提交March 22, 2019
上次修改时间June 25, 2025
适用范围ArcGIS Pro
找到的版本2.3.1
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Will Not Be Addressed

附加信息

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

解决办法

ArcMap

  1. In ArcMap, go to the File tab > Add Data > Add Query Layer.
  2. In the New Query window, connect to a database with OS Authentication user owned data.
  3. Add a name for the QueryLayer (For example: TestQueryLayer)
  4. Insert SQL Query in the Query box.

ArcGIS Pro

  1. In ArcGIS Pro, go to the Map tab > Add Data > Add Query Layer.
  2. In the New Query window, connect to database with OS Authentication user owned data.
  3. Add a name for the QueryLayer (For example: TestQueryLayer)
  4. Insert SQL Query in the Query box.

SQL example including table join:

select a.objectid, a.shape, a.field1, b.field2

from  <server>.<database>.<OS Authentication>.<featureclass> a, 

    <server>.<database>.<OS Authentication>.<datatable> b, 

where  a.OBJECTID = b.id

and b.field2 = 'thing'

 

Ensure to include the ObjectID and Shape fields of the feature class. Use whatever amount of fields needed from the feature class and data tables, "field1" and "field2" are a simplified example.

OR 

Migrate from OS Authentication to Database Authentication.

重现步骤

漏洞 ID: BUG-000121121

软件:

  • ArcGIS Pro

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项