I've got about 1000 tables in a geodatabse that I need to delete. They are named IntersectedBuffers_1, IntersectedBuffers_2, etc, and they're the only tables in the database.
Could someone please tell me how to delete these? I've been trying to do it from the python window. I can successfully delete individual tables with the following code:
import arcpy
arcpy.env.workspace = r"C:\Documents and Settings\Administrator\My Documents\ArcGIS\Default1.gdb"
arcpy.Delete_management("IntersectedBuffers_2")
But how can I delete all of them? I've tried things like
arcpy.Delete_management("IntersectedBuffers*.tbl")
... but I'm really just guessing! Is there a way to delete based on a shared text string, or based on teh fact that they're all tables?
Thanks in advance,
Jay