SALES_DATA Table Reorg Error Out ORA-00900: invalid SQL statement (Doc ID 2205261.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Demantra Demand Management - Version 12.2.5.1 and later
Information in this document applies to any platform.

Symptoms

On Demantra 12.2.5.1 while trying to reorg SALES_DATA table the same errors out with the following error

ERROR
-----------------------

SQL> exec table_reorg.reorg('DEMANTRA','SALES_DATA','C',40,4);
BEGIN table_reorg.reorg('DEMANTRA','SALES_DATA','C',40,4); END;

*
ERROR at line 1:
ORA-00900: invalid SQL statement
ORA-06512: at "DEMANTRA.TABLE_REORG", line 1386
ORA-32422: commit SCN-based materialized view log cannot be created on table "DEMANTRA"."SALES_DATA" when there exist direct load/PMOP log entries for the table
ORA-06512: at line 1






STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. run the table_reorg.reorg from sqlplus or similar tool
2. this fails with ora 32422


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot run the table reorg

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