I need to delete all tables (hundreds) in the SYS schema that someone accidentally created with sqlplus. Looking in
dba_objects, I don't see a way to distinguish these tables from pre-existing stock system tables. Any help appreciated.
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Most tables in SYS schema are created when database is installed. You probably know approximately when the new tables were created, so query like this should work: