My Oracle Support Banner

RUNNING OUTPUT OF DBMS_METADATA.GET_DDL FAILS WITH ORA-904 AFTER DROPPING XMLTYPE TABLE (Doc ID 2972490.1)

Last updated on JULY 20, 2024

Applies to:

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

Symptoms

-- After dropping several XMLTYPE columns, SQL Developer creates a "CREATE TABLE" statement that is not executable. It returns an ORA-00904 error.
-- This takes place after you drop an XMLType table and then attempt to recreate it and then view the DDL through dbms_metadata.get_ddl.

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.