ORA-00917 or ORA-911 While Using using DBMS_MVIEW.EXPLAIN_REWRITE (Doc ID 471056.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.3 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

When using DBMS_MVIEW.EXPLAIN_REWRITE various errors can occur:

begin
*
ERROR at line 1:
ORA-917: missing comma
ORA-6512: at "SYS.DBMS_XRWMV", line 108
ORA-6512: at "SYS.DBMS_SNAPSHOT", line 3209
ORA-6512: at line 23

OR
*
ERROR at line 1:
ORA-911: invalid character
ORA-6512: at "SYS.DBMS_XRWMV", line 108
ORA-6512: at "SYS.DBMS_SNAPSHOT", line 3209
ORA-6512: at line 1

when QUERY_REWRITE_INTEGRITY=TRUSTED

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