My Oracle Support Banner

Altering the CLOB to add the compression failing with ORA-00902: Invalid Datatype (Doc ID 2831422.1)

Last updated on JULY 20, 2024

Applies to:

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

Symptoms

When you are trying to compress the SecureFile LOB as follows, it will fail:

ALTER TABLE TEST MODIFY
  CLOB(TEMP_RESULT_XML) (COMPRESS HIGH);

Error starting at line : 1 in command -
ALTER TABLE TEST MODIFY
  CLOB(TEMP_RESULT_XML) (COMPRESS HIGH)
Error report -
ORA-00902: invalid datatype
00902. 00000 - "invalid datatype"

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.