Skip to main content
Solved

How to delete sde geodatabase tables and Feature Classes?

  • April 20, 2015
  • 1 reply
  • 63 views

Hi All,

 

 

I am tring to build a model that would delete all the existing tables, Feature classes and Relationship Classes in a SDE geodatabase and then copy new data from another geodatabase. is there a tool that i can use to delete the actual tables and not the records in those tables?

 

 

and a sub question, is there a way to create/update/delete domains in SDE?

 

 

thanks you!

 

 

 

Best answer by david_r

Hi,

 

 

my preferred method would be to implement this using arcpy scripting inside e.g. a startup script.

 

 

Delete a feature class: http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000052000000

 

 

Delete a domain: http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000021000000

 

 

David
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • Best Answer
  • April 21, 2015
Hi,

 

 

my preferred method would be to implement this using arcpy scripting inside e.g. a startup script.

 

 

Delete a feature class: http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000052000000

 

 

Delete a domain: http://resources.arcgis.com/en/help/main/10.2/index.html#//001700000021000000

 

 

David