Is it possible to copy shapefiles to SDE geodatabases using ArcPy? I have tried using Copy_management, but it says that it cannot copy between different workspaces. Is there a different function that should be used, or perhaps a workaround?

  • try CopyFeatures – KHibma Aug 27 '15 at 18:52
  • That's got it! Mind putting it in an answer so I can check it off? – Mike Aug 27 '15 at 19:10

Copy Features handles the conversion of file formats (shp into sde-fc like in your example) simply by what workspace has been defined in the output path.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.