If you have access to DBA privileges, my choice before importing (either Classic or DataPump) is to simply "DROP USER <target user> CASCADE;", then re-create the user.
One can certainly run a script to DROP all objects in the schema, as well, but I prefer the "quick-and-clean" method.
Let us know if you have follow-on questions.
Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
TEA will overwrite only tables. Is there anyway without dropping users and directly overwrite all objects, including view, stored procedure, packages...
I recommend your checking into/Googling TekDudeDude's suggestion for specifying Table Exists Action.
I that does not seem to meet your needs, you can use whatever administrative tool you have to DROP the objects that the schema owns prior to your import/data pump.
Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.