How to Remove Invalid 'XML SCHEMA' Objects if Schema does not Exist (Doc ID 725838.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.4 [Release 10.1 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 24-Dec-2012

Goal

How to remove invalid object of type 'XML SCHEMA' if no schema is tied to the invalid 'XML SCHEMA'?

select owner, object_name, object_type, status
from dba_objects
where status = 'INVALID' and object_type = 'XML SCHEMA';

 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms