创建物化视图:
create materialized view MV_except_pattern_orders as select * from v_except_pattern_orders
删除物化视图:
drop materialized view MV_except_pattern_orders
drop materialized view MV_except_pattern_orders
更新物化视图:
call DBMS_MVIEW.REFRESH('MV_EXCEPT_PATTERN_ORDERS','C');
创建自动更新的物化视图:
create materialized view MV_except_pattern_orders
refresh Complete on demand
start with to_date('2010-01-01 13:20:51','YYYY-MM-DD HH24:MI:SS') next sysdate+1/(24*60)
as
select * from v_except_pattern_orders