laptop and a wrench

Bug

arcpy.ArcSDESQLExecute() cannot return Global ID (GUIDs) for datasets in an SQL Server database.

Last Published: July 23, 2019 ArcSDE/Enterprise Geodatabase
Bug ID Number BUG-000087275
SubmittedApril 27, 2015
Last ModifiedJune 5, 2024
Applies toArcSDE/Enterprise Geodatabase
Version found10.3
Operating SystemWindows OS
Operating System Version7 64 Bit
StatusNon-Reproducible

Additional Information

Unable to reproduce this issue as submitted. If this is still an issue in the current version, please contact Esri Support Services.

Workaround

Convert the Global ID field to nvarchar. For example: conn= arcpy.ArcSDESQLExecute(r'Database Connections\sde_user1.sde') conn.execute('select convert(nvarchar(50),GlobalID)from sde.user1.cities')

Steps to Reproduce

Bug ID: BUG-000087275

Software:

  • ArcSDE/Enterprise Geodatabase

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options