我正在尝试创建一个分区的物化视图,但它失败了 错误ora-00933
create materialized view my_mv
refresh fast with rowid
enable query rewrite
as
select sal_dt ,
sum(sales) sum_sales
from sales
group by sal_dt
partition by range (sal_dt)
interval (numtodsinterval(1,'day'))
(partition p_sal_dt_min values less than (to_date(' 2013-11-18 00:00:00', 'syyyy-mm-dd hh24:mi:ss', 'nls_calendar=gregorian'))
partition by range (sal_dt)
*
error at line 10:
ora-00933: sql command not properly ended
任何想法我在这里缺少什么