My Oracle Support Banner

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

Last updated on SEPTEMBER 11, 2018

Applies to:

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


On Demantra while trying to reorg SALES_DATA table the same errors out with the following 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

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

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


To view full details, 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 a vibrant support community of peers and Oracle experts.