Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> ORA-12054 when creating materialized view
When creating a materialized view, I received "ORA-12054 : cannot set
the ON COMMIT refresh attribute for the materialized view" error
message.
create materialized view target_mview
tablespace target_data
storage (pctincrease 0)
build immediate
refresh fast on commit
enable query rewrite
as select * from target
where targetid = 100 and targetname = 'XYZ';
ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view
"target" is a physical table and the query is pretty simple so I have no idea why I get this error. I've granted "global query rewrite".
I am using 8.1.7 EE on Sun Solaris. Please help. Thanks.
ewong Received on Thu Feb 06 2003 - 21:12:06 CST
![]() |
![]() |