I need to delete all tables (hundreds) in the SYS schema that someone accidentally created with sqlplus. Looking in dba_tables and dba_objects, I don't see a way to distinguish these tables from pre-existing stock system tables. Any help appreciated.

1 Answer 1


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:

select *
from dba_objects
where object_type='TABLE'
  and owner='SYS'
  and created > <date before new tables were created>;
  • I noticed this solution, it's just surprising that there is not more definitive metadata on this. Commented Aug 15, 2013 at 14:09
  • Probably because all tables in SYS schema are assumed to be system tables
    – sjk
    Commented Aug 16, 2013 at 6:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.