Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

SAP upgrade after upgrading oracle from 11g to 12C: ORA-00922

$
0
0

Dear Experts,

 

We have faced a issue while upgrading the SAP system from SAP Netweaver 7.0 to SAP Netweaver 7.4 in execution phase after upgrading the Oracle from 11g to 12c in SUBPHASE MAIN_NEWBAS/PARCONV_UPG_DS

 

 

 

Overview

 

In this phase, the application tables are adjusted to the structure of the target release. Here, several conversion program processes (in the SAP system) and tp processes run simultaneously.

It is essential that this phase is completed without any errors. If errors are ignored here, the view usually cannot be created in the PMVNTAB_UPG phase.

In this phase, problems may occur when you create secondary indexes. Since these are mainly required for performance optimization and not to ensure that the table key is unique, errors that occur when you create secondary indexes do not cause the phase to terminate, but instead they are displayed in the LONGPOST.LOG file after the downtime has passed.

 

Error Description

 

 

                                      SUMupg.PNG                        


After check the logs PARCONV.log and NCONV00.<SID> we find that it is not able to execute the CREATE command in command.

The error was  ORA-00922: missing or invalid option


4 EGT281 sql:

4 EGT231 "CREATE TABLE 'QCM8SALV_WD_ADMI'"

4 EGT231 "('CLNT' VARCHAR2 (000009)"

4 EGT231 "DEFAULT '000' NOT NULL,"

4 EGT231 "'OBJECT' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL,"

4 EGT231 "'VALUE' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL)"

4 EGT231 "PCTFREE 10"

4 EGT231 "PCTUSED 00"

4 EGT231 "INITRANS 001"

4 EGT231 "TABLESPACE PSAPSR3"

4 EGT231 "NOCOMPRESS"

4 EGT231      "NO INMEMORY"

4 EGT231 "STORAGE (INITIAL 0000000016 K"

4 EGT231 "NEXT 0000000040 K"

4 EGT231 "MINEXTENTS 0000000001"

4 EGT231 "MAXEXTENTS UNLIMITED"

4 EGT231 "PCTINCREASE 0000"

4 EGT231 "FREELISTS 001"

4 EGT231 "FREELIST GROUPS 01)"

2 ED0314 ORA-00922: missing or invalid option




SQL command has come up with some invalid option which are not supported with 11g but supported on 12C.


Now the question comes,  After upgrading the ORACLE from 11g to 12C , why the error ORA-00922: missing or invalid option is coming?


Yes , we have upgraded the oracle to 12C , which is true ,  but we have not maintained the compatible parameter for oracle to 12C. It was having a value for 11g.



After changing the parameter of  COMPATIBLE to '12.1.0.2.0'  from '11.2.0' the below sql query which was invalid earlier become valid for oracle 12c.


 

4 EGT281 sql:

4 EGT231 "CREATE TABLE 'QCM8SALV_WD_ADMI'"

4 EGT231 "('CLNT' VARCHAR2 (000009)"

4 EGT231 "DEFAULT '000' NOT NULL,"

4 EGT231 "'OBJECT' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL,"

4 EGT231 "'VALUE' VARCHAR2 (000090)"

4 EGT231 "DEFAULT ' ' NOT NULL)"

4 EGT231 "PCTFREE 10"

4 EGT231 "PCTUSED 00"

4 EGT231 "INITRANS 001"

4 EGT231 "TABLESPACE PSAPSR3"

4 EGT231 "NOCOMPRESS"

4 EGT231      "NO INMEMORY"

4 EGT231 "STORAGE (INITIAL 0000000016 K"

4 EGT231 "NEXT 0000000040 K"

4 EGT231 "MINEXTENTS 0000000001"

4 EGT231 "MAXEXTENTS UNLIMITED"

4 EGT231 "PCTINCREASE 0000"

4 EGT231 "FREELISTS 001"

4 EGT231 "FREELIST GROUPS 01)"


After this , we resume the SUM and it passed the error with a lightening speed.

 

With Regards

Ashutosh Chaturvedi


Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>