Hot answers tagged

6

After you supplied the error, I noticed you didn't use a colon at the end of line 10. You should replace lines 10 and 11 with the following lines. for fc in filtered: if arcpy.Exists(fc): arcpy.Delete_management(fc) Chances are you'd never have it try to delete one that doesn't exist but this way, it keeps deleting if it DOES find one that doesn't ...


2

I'm afraid this is more of a personal preference than a best practices issue. You have many choices: Create the spatial table in database A with SQL tools, and access it though Query Layers Create the spatial table in database B with SQL tools, and access it through Query Layers Create the spatial table in database B with SQL tools, and register it with ...



Only top voted, non community-wiki answers of a minimum length are eligible