I am looking for information on how to delete a feature class from an enterprise geodatabase that appears to have become corrupted and is giving us errors with every action we take. In the process of trying to replace a feature class with a new one, a user tried to delete a feature class that had archiving enabled and it failed to delete (archiving was not disabled first). They then changed the name of the feature class so they could complete the replacement. We have since tried to disable archiving then delete, however we get "DisableArchiving: ERROR 003644: Underlying DBMS error [ORA-00904: "GDB_TO_DATE": invalid identifier]". When we try to delete the feature class (we tried right-click delete, and the delete geoprocessing tool), we get "ERROR 000601: Cannot delete xyz. May be locked by another application. Delete item [Error]: Underlying DBMS error [ORA-00904: "GDB_TO_DATE": invalid identifier]". I get the same ORA-00904 error when attempting to view the attribute table. There is also an associated feature xyz_H. I believe this was created when they tried removing the archiving and I'm assuming selected to save the history.
Other actions were also taken in an attempt to fix the issue, but I do not know everything that was tried. I believe the SDE tables got hosed up during this process.
I am hoping to find a procedure to cleanly delete the feature class manually from SDE. Or a way to fix the "GDB_TO_DATE" error so that we can delete the feature through ArcGIS Pro. This is a production database, so we are trying to avoid causing any further issues with any other data.
We are using ArcGIS Pro 3.2. The enterprise geodatabase is version 10.9.1, Oracle version 19.19.0.0.
Appreciate any assistance. I have been searching but cannot find a thorough answer that fits our issue.
Thanks!
Kim