| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 5765 人关注过本帖
标题:oracle 分区表各
只看楼主 加入收藏
huberyWei
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2016-4-29
收藏
 问题点数:0 回复次数:0 
oracle 分区表各
新建一个oracle分区表如下
-- Create table
create table customer
(
  id                     VARCHAR2(32) not null,
  customer_name          VARCHAR2(255) not null,
  customer_gender        VARCHAR2(32) not null,
  customer_phone         VARCHAR2(150) not null,
  customer_period        CHAR(6) not null
) partition by list(customer_period) (
                partition current_partition values('201101'),
                partition list_partition values('201102')
);
插入以下数据
  INSERT INTO MMS_TARGET_CUSTOMER (ID, CUSTOMER_NAME, CUSTOMER_GENDER, CUSTOMER_PHONE, CUSTOMER_PERIOD) VALUES
('abc42f8164c243c885a8adfzz4zr8', '张三', '男', '12345678900', '201101');
此时我想将该数据迁移到list_partition 分区中,然后插入一条customer_period为'201201'   的数据到current_partition 中。
请问Oracle数据库是否支持此功能,能否修改values的值?
   
搜索更多相关主题的帖子: customer oracle Create values null 
2016-04-29 14:11
快速回复:oracle 分区表各
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.024589 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved