[GIS] Copy shapefile to SDE feature class using arcpy

arcpydata managemententerprise-geodatabase

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?

Best Answer

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.