今天学习Oracle的分区表技术,现在把建立分区表的语句放在这里,留个纪念!
SQL> conn system/windows@study
已连接。
SQL> create tablespace test datafile 'D:\oracle\product\10.2.0\oradata\study\tes
t.dbf' size 100M autoextend on;
表空间已创建。
SQL> create tablespace test1 datafile 'D:\oracle\product\10.2.0\oradata\study\te
st1.dbf' size 100M autoextend on;
表空间已创建。
SQL> create user test identified by windows default tablespace test;
用户已创建。
SQL> grant connect,resource to test;
授权成功。
SQL> commit;
提交完成。
SQL> conn test/windows@study
已连接。
SQL> create table t_partition_range (id number,name varchar2(50)) partition by r
ange(id)(partition t_range_p1 values less than (10) tablespace test,partition t_
range_p2 values less than (20) tablespace test1,partition t_range_p3 val