My Oracle Support Banner

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

Last updated on MARCH 10, 2025

Applies to:

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

Symptoms

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.

Cause

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
Symptoms
Cause
Solution
References

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