我有以下类型:
create or replace type varchar2_arr as table of varchar2(300)
我尝试创建物化 View :
create table a (id varchar2(10), data varchar2(200), constraint pk_a primary key(id));
create table b (id varchar2(10), data varchar2(200), constraint pk_b primary key(id));
create materialized view log on a with rowid;
create materialized view log on b with rowid;
create materialized view mnest_ab_mv
refresh fast on commit
as
select a.rowid a_rowid, b.rowid b_rowid, varchar2_arr(a.data), b.data
from a, b
where a.id = b.id (+)
oracle 给我以下错误:
ORA-12054: cannot set the ON COMMIT refresh attribute for the materialized view
使用嵌套表创建实体化 View 需要做什么?
最佳答案
您是否尝试过运行 DBMS_MVIEW.EXPLAIN_MVIEW 过程,它的输出可能会有所帮助。
谢谢
维沙德
关于sql - 带有嵌套表的物化 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20531841/