ORA-12053: this is not a valid nested materialized view [message #278197] |
Fri, 02 November 2007 06:16 |
|
Hi All,
i am getting error whne i am trying to create MATERIALIZED view based on anothe rMATERIALIZED view.
CREATE MATERIALIZED VIEW LOG ON cme.ERP_TK_BACKLOG_DAILY_MV
TABLESPACE TRANSD
WITH ROWID;
CREATE MATERIALIZED VIEW ERP_TKRRL_BACKLOG_DAILY_MV
TABLESPACE TRANSD
NOLOGGING
NOCACHE
NOPARALLEL
BUILD DEFERRED
USING INDEX TABLESPACE TRANSX
REFRESH FAST WITH ROWID
USING DEFAULT LOCAL ROLLBACK SEGMENT
DISABLE QUERY REWRITE AS SELECT * FROM ERP_TK_BACKLOG_DAILY_MV;
ORA-12053: this is not a valid nested materialized view
please help me out this issue.
Thanks,
Sagar
|
|
|
|
Re: ORA-12053: this is not a valid nested materialized view [message #278202 is a reply to message #278197] |
Fri, 02 November 2007 06:41 |
rleishman
Messages: 3728 Registered: October 2005 Location: Melbourne, Australia
|
Senior Member |
|
|
The Oracle manual says | You can create a nested materialized view on materialized views, but all parent and base materialized views must contain joins or aggregates. If the defining queries for a materialized view do not contain joins or aggregates, it cannot be nested. All the underlying objects (materialized views or tables) on which the materialized view is defined must have a materialized view log. All the underlying objects are treated as if they were tables. In addition, you can use all the existing options for materialized views.
|
Ross Leishman
|
|
|