laptop and a wrench

Bug

The arcpy.da.SearchCursor queries produce inconsistent results if ordering is used.

Last Published: December 10, 2015 ArcGIS for Desktop
Bug ID Number BUG-000091958
SubmittedNovember 5, 2015
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.2.2
StatusNon-Reproducible

Additional Information

Unable to reproduce

Workaround

Remove the SQL postfix and use the Python sorted method instead of ORDER BY. cursor = sorted(arcpy.da.SearchCursor(fc_path, search_fields, where))

Steps to Reproduce

Bug ID: BUG-000091958

Software:

  • ArcGIS for Desktop

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