I have a layer called 'Colorado' that has an attribute 'FIPS_CODE'. The values are numbers as a string. I am trying to use
arcpy.SelectLayerByAttribute_management inside my Python script to select the features that have code '13245', but I keep getting an error:
Invalid expression Failed to execute
The problem is essentially the
where_clause or SQL Expression. What am I doing wrong here?
arcpy.SelectLayerByAttribute_management('Colorado','NEW_SELECTION','"FIPS_CODE" = "13245"')