Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle 12: DROP USER CASCADE - ORA-04043

user3919600Oct 27 2015 — edited Oct 29 2015

Hi community,

we started upgrading our databases from 11g to 12c.

Until now we dropped schemas by <DROP USER xxx CASCADE>. <== on 11g there are no problems

On 12c we are not able to drop schemas, cause of error "ORA-04043 object SYS_PLSQL_xxxxx does not exist". Seemingly the import of a dump created serveral SYS_PLSQL_...-types. Deleting them manually solves the problem, so that the schema can be dropped. According to my investigation these types are concerned to packages.

Is there a way (a option, parameter, etc) to drop the schema with one statement (or prohibit Oracle to create the types), or must i ever drop the types manually before?

Thanks

Stefan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2015
Added on Oct 27 2015
4 comments
1,171 views