ORA-00406 COMPATIBLE parameter needs to be 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 and later
Information in this document applies to any platform.


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 or greater


 Upgraded the database from 11g to 12c


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