My Oracle Support Banner

ORA-904 when Shrinking Space of a XMLTYPE column (Doc ID 1610886.1)

Last updated on JULY 16, 2019

Applies to:

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

Symptoms

Unable to shrink XMLTYPE column , fails with ORA-00904: error.

SQL> desc APPS_ACTIVITY_XML
 Name Null? Type
 ----------------------------------------- -------- ----------------------------
 RECID NOT NULL VARCHAR2(255)
 XMLRECORD SYS.XMLTYPE


SQL> ALTER TABLE APPS_ACTIVITY_XML enable row movement;

Table altered.

SQL> ALTER TABLE FBNK_ACCT_ACTIVITY_BKXML SHRINK SPACE CASCADE;

Table altered.

SQL> ALTER TABLE APPS_ACTIVITY_XML MODIFY LOB(XMLRECORD)(SHRINK SPACE);

Table altered.

SQL> ALTER TABLE APPS_ACTIVITY_XML MODIFY LOB(XMLRECORD)(SHRINK SPACE);
ALTER TABLE APPS_ACTIVITY_XML MODIFY LOB(XMLRECORD)(SHRINK SPACE)
  *
ERROR at line 1:
ORA-00904: "XMLRECORD": invalid identifier

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.