create table operation.T_CSRC_TEST
( day CHAR(10) not null,
investornameCHAR(10)
)partition by range (day)(
partition p_2012_03 values less than (to_date('2012-03-31','yyyy-mm-dd')) tablespace tbs_history_2012_03,
partition p_2012_06 values less than (to_date('2012-06-30','yyyy-mm-dd')) tablespace tbs_history_2012_06,
partition p_2012_09 values less than (to_date('2012-09-30','yyyy-mm-dd')) tablespace tbs_history_2012_09,
partition p_max values less than (maxvalue) tablespace tbs_historysettlement);
公司内的系统,放了好多年的数据,现在不堪重负,我想利用day字段来划分分区表
日期的保存格式全是以2014-09-01的格式化保存,按照上面SQL建立分区表分执行报错
提示:ORA-14037: 分区 "P_2012_03" 的分区界限过高
请问有什么好的办法解决吗?
字段类型是定死的,不能修改,不然程序必定出错
|