I am the (student) DBA and I need to change the owner of tables/DB from the (departed) DBA username to my own before I delete her from the system. How do I do that?
No, I didn't mean for you to create a whole new database just because one id has changed. Just create your id on the existing database and import using this id. That will create copies of all objects owned by the previous dba in your schema.
You should check DBA_DEPENDENCIES to find objects in other schemas that reference objects in the departed DBA's schema. These dependent objects will have to be manually adjusted to refer to the new objects in your schema. This sounds like a real pain if there are a lot of dependencies. That might be incentive to give the new id a fairly generic name. That way it can be passed on to a new DBA when you leave without deleting the entire account. Just change the password and the new DBA is ready to take over.
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.