laptop and a wrench

Bogue

When a feature class is stored in a SQL Server geodatabase, the Select By Attribute tool does not work properly when specifying a double field type in the SQL expression. Some decimal values work properly, others do not (e.g. 0.1 or 0.2) due to the double-precision field type.

Dernière publication: July 31, 2020 ArcGIS Pro
Numéro d’ID de bogue BUG-000132386
EnvoiJuly 21, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS Pro
Version trouvée2.5.2
Système d’exploitationWindows OS
Version du système d’exploitation10.0
StatutDuplicate

Informations supplémentaires

Duplicate of BUG-000132570. This is fixed in ArcGIS Pro 2.7

Solution de contournement

Perform any of the following workarounds to resolve the issue:

  • Change the Fields which were Type=Double to Type=Float.
  • Manually enter the value into the SQL view of the Select By Attribute expression.
  • Create multiple expressions to achieve the selection, such as Field>=0.7 AND Field<=0.79.
  • Ask the SDE admin to change the length of the problematic fields to be less than 17. Preferably 15, to match with the ArcGIS Pro attribute table.

Étapes pour reproduire

ID de bogue: BUG-000132386

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