创建表分区.txt

create table xxx(NAME VARCHAR2(32),time VARCHAR2(14)...)PARTITION BY RANGE(time) SUBPARTITION BY HASH(NAME,time)(PARTITION xxx201001 VALUES LESS THAN(20100200000000),PARTITION xxx201002 VALUES LESS THAN(20100300000000),PARTITION xxx201003 VALUES LESS THAN(20100400000000),PARTITION xxx201004 VALUES LESS THAN(20100500000000),PARTITION xxx201005 VALUES LESS THAN(20100600000000),PARTITION xxx201006 VALUES LESS THAN(20100700000000),PARTITION xxx201007 VALUES LESS THAN(20100800000000),PARTITION xxx201008 VALUES LESS THAN(20100900000000),PARTITION xxx201009 VALUES LESS THAN(20101000000000),PARTITION xxx201010 VALUES LESS THAN(20101100000000),PARTITION xxx201011 VALUES LESS THAN(20101200000000),PARTITION xxx201012 VALUES LESS THAN(20101300000000),PARTITION xxx201101 VALUES LESS THAN(20110200000000),PARTITION xxx201102 VALUES LESS THAN(20110300000000),PARTITION xxx201103 VALUES LESS THAN(20110400000000),PARTITION xxx201104 VALUES LESS THAN(20110500000000),PARTITION xxx201105 VALUES LESS THAN(20110600000000),PARTITION xxx201106 VALUES LESS THAN(20110700000000),PARTITION xxx201107 VALUES LESS THAN(20110800000000),PARTITION xxx201108 VALUES LESS THAN(20110900000000),PARTITION xxx201109 VALUES LESS THAN(20111000000000),PARTITION xxx201110 VALUES LESS THAN(20111100000000),PARTITION xxx201111 VALUES LESS THAN(20111200000000),PARTITION xxx201112 VALUES LESS THAN(20111300000000)) tablespace xxx

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值