Datapatch fails with Error:"ORA-00406: COMPATIBLE parameter needs to be 12.0.0.0.0 or greater" (Doc ID 2175087.1)

Last updated on FEBRUARY 04, 2017

Applies to:

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

Symptoms

After successfully applying JULY 2016 PSU ,while executing datapatch -verbose,it fails with following error :

Errors for PACKAGE BODY DBMS_SQLPATCH:
.
LINE/COL ERROR
-------- -----------------------------------------------------------------
78/5 PL/SQL: SQL Statement ignored
78/12 PL/SQL: ORA-00942: table or view does not exist
| from trace below observed
about to signal 942
Name: DBMS_SQLPATCH_STATE  <<<
|
CREATE TABLE dbms_sqlpatch_state (
*
ERROR at line 1:
ORA-00406: COMPATIBLE parameter needs to be 12.0.0.0.0 or greater

 

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