select table_name from sde.SDE_table_registry
select layer_id from sde.sde_layers where table_name = 'FC name' select registration_id from sde.sde_table_registry where table_name = 'FC name' --Apply the 2 above values to the necessary queries below delete from sde.GDB_ITEMS where name = '<database>.<owner>.FC name' drop table <owner>.f<layer_id> drop table <owner>.s<layer_id> delete from sde.sde_geometry_columns where f_table_name = 'FC name' drop table <owner>.i<registration_id> drop table <owner>.FC Name delete from sde.sde_layers where table_name = 'FC name' delete from sde.sde_table_registry where table_name = 'FC name'