添加表分区
--添加student 表字段(CREATEDATE)按月分区
alter table student add partition p201600 values less than (TO_DATE('2016-01-01','YYYY-MM-DD'));
alter table student add partition p201601 values less than (TO_DATE('2016-02-01','YYYY-MM-DD'));
alter table student add partition p201602 values less than (TO_DATE('2016-03-01','YYYY-MM-DD'));
alter table student add partition p201603 values less than (TO_DATE('2016-04-01','YYYY-MM-DD'));
alter table student add partition p201604 values less than (TO_DATE('2016-05-01','YYYY-MM-DD'));
alter table student add partition p201605 values less than (TO_DATE('2016-06-01','YYYY-MM-DD'));
alter table student add partition p201606 values less than (TO_DATE('2016-07-01','YYYY-MM-DD'));
alter table student add partition p201607 values less than (TO_DATE('2016-08-01','YYYY-MM-DD'));
alter table student add partition p201608 values less than (TO_DATE('2016-09-01','YYYY-MM-DD'));
alter table student add partition p201609 values less than (TO_DATE('2016-10-01','YYYY-MM-DD'));
alter table student add partition p201610 values less than (TO_DATE('2016-11-01','YYYY-MM-DD'));
alter table student add partition p201611 values less than (TO_DATE('2016-12-01','YYYY-MM-DD'));
alter table student add partition p2016max values less than (TO_DATE('2099-12-31','YYYY-MM-DD'));