My Oracle Support Banner

ORA-00096: Invalid Value Enforced For Parameter Query_rewrite_integrity When Creating Or Refreshing Materialized View (Doc ID 1968519.1)

Last updated on NOVEMBER 15, 2019

Applies to:

Oracle Database - Standard Edition - Version 11.1.0.7 and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Creating or refreshing a materialized view fails with ORA-00096 error.

Creating  a table using the same Select statement works fine.

 

CREATE MATERIALIZED VIEW <mview_name>
ORGANIZATION HEAP
PCTFREE 10
PCTUSED 40
INITRANS 1
MAXTRANS 255
STORAGE(INITIAL 56K
     NEXT 56K
     MAXEXTENTS UNLIMITED
     PCTINCREASE 5
     BUFFER_POOL DEFAULT)
LOGGING
NOPARALLEL
NOCACHE
BUILD IMMEDIATE
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 56K NEXT 56K MAXEXTENTS UNLIMITED PCTINCREASE 5 BUFFER_POOL DEFAULT) TABLESPACE USERS
REFRESH FAST
START WITH TO_DATE('18-NOV-2014 03:04 PM','DD-MON-YYYY HH12:MI PM')
NEXT SYSDATE + 1/288
ON DEMAND
AS SELECT * FROM <table_name>;
/

 

ERROR :
ORA-00096: invalid value enforced for parameter query_rewrite_integrity, must be from among force, true, false
ORA-00096: invalid value trusted for parameter query_rewrite_integrity, must be from among force, true, false

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.