物化视图查询有什么问题?

时间:2019-09-29 06:31:23

标签: sql oracle materialized-views

查询:

CREATE MATERIALIZED VIEW MV_DATA
BUILD IMMEDIATE 
REFRESH FAST START WITH SYSDATE NEXT (SYSDATE + 1) + 11 / 24 WITH 
ROW_NUM
ON COMMIT
DISABLE QUERY REWRITE
AS SELECT ROWNUM AS ROW_NUM, SYSTIMESTAMP AS REFRESH_DATE_TIME, R.* 
FROM ROLES R;

命令行错误:3列:67

  

错误报告
  SQL错误:ORA-00905:缺少关键字
  00905. 00000-“缺少关键字”
  *原因:
  *动作:

请指导我我做错了

0 个答案:

没有答案