4

I want to simply process a layer by writing a tool script in a toolbox without having to connect any database, so I think I may have to set up a workspace environment in ArcMap, but I'm not sure if I need to do anything else.

Essentially I want to find a Python version of the ArcObjects IWorkspace.ExecuteSQL method.

Chad Cooper
  • 12,714
  • 4
  • 46
  • 87
Carl Carlson
  • 694
  • 6
  • 21

1 Answers1

1

For file geodatabases, I do not think this is possible through arcpy, but it is using GDAL/OGR: ogr2ogr / GDAL remove features in FileGDB while in use by ArcGIS Server map service

blah238
  • 35,793
  • 7
  • 94
  • 195