我创建了一个具有以下分区间隔的表:
create table
pos_data_two (
start_date TIMESTAMP,
store_id NUMBER,
inventory_id NUMBER(6),
qty_sold NUMBER(3)
)
PARTITION BY RANGE (start_date)
INTERVAL(NUMTODSINTERVAL (1, 'DAY'))
(
PARTITION pos_data_p2 VALUES LESS THAN (TO_DATE('30.10.2013', 'DD.MM.YYYY'))
);
当我用时间戳值插入一行时
'31.10.2013 00:00:00'
新创建的分区的高值是:
TIMESTAMP' 2013-11-01 00:00:00'
那是对的吗?不应该是 2013-10-31 00:00:00 吗?