Oracle 11g 自动分区例子

-- Create table
create table TEST20181220
(
DATA_ID NUMBER,
BUSI_DT DATE, 
INPUT_DT DATE
)
PARTITION BY RANGE (BUSI_DT) INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))
STORE IN (MDR)
(PARTITION PM_201804 VALUES LESS THAN (TO_DATE('2018-05-01','YYYY-MM-DD')));

posted @ 2018-12-20 15:15  Ayumie  阅读(400)  评论(0编辑  收藏  举报