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 ;

posted @ 2020-10-30 10:10  子鱼猴  阅读(295)  评论(0编辑  收藏  举报