12c建立物化视图出现ORA-23319错误


一个物化视图创建的小bug,在NEXT语句后面不能使用“—”开始的注释。否则报错ORA-23319。

create materialized view mv_ryxx refresh  force on demand    
start with sysdate next trunc(sysdate,'mi')+1/24 --每隔一小时刷新一次  
as select * from v_ryxx ;

原文地址:https://www.cnblogs.com/oracle-ziyuhou/p/13900724.html