laptop and a wrench

Bogue

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

Dernière publication: April 25, 2019 ArcGIS Pro
Numéro d’ID de bogue BUG-000121121
EnvoiMarch 22, 2019
Dernière modificationJune 25, 2025
S’applique àArcGIS Pro
Version trouvée2.3.1
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: BUG-000121121

Logiciel:

  • ArcGIS Pro

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement