ORA-00406 COMPATIBLE parameter needs to be 12.0.0.0.0 or greater while creating table with XMLTYPE column after upgrade to 12c

(Doc ID 2251838.1)

Last updated on MARCH 01, 2018

Applies to:

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

Symptoms

Creating a table with XMLTYPE column is failing with below error after the upgrade to 12c from 11g

create table test1 (a number, sand sys.xmltype);

ORA-00406: COMPATIBLE parameter needs to be 12.0.0.0.0 or greater


Changes

 Upgraded the database from 11g to 12c

Cause

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