Unfortunately it's possible to apply an invalid SQL where clause when using arcpy.MakeFeatureLayer_management. This can cause issues later in a script. For example, I created a feature layer and subsequently tried to apply Snap_edit to the layer, which caused IDLE to crash without throwing an error. The cause was a misspelled field name.
Is there an efficient way to check if an SQL was applied properly to a feature layer?
أكثر...
Is there an efficient way to check if an SQL was applied properly to a feature layer?
أكثر...