My Oracle Support Banner

Trying to Recompile Invalid Package (DBMS_SPACE) Fails with ORA-21700 (Doc ID 401795.1)

Last updated on FEBRUARY 02, 2022

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


DBMS_SPACE (or any other catalog object) is invalid and trying to recompile it fails with:
ORA-21700: object does not exist or is marked for delete
Any other operation related to this package (drop package) fails with the same error message.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.