5,888
社区成员
发帖
与我相关
我的任务
分享
db2 "create table test (id smallint not null , value varchar (10) not null) partition by range (id nulls last) (partition p1 starting from (1) inclusive ending at (5) exclusive , partition p2 starting from (6) inclusive ending at (10) exclusive , partition p3 starting from (11) inclusive ending at (maxvalue) exclusive , partition p0 starting from (minvalue) exclusive ending at (0) exclusive )"
db2 "alter table test detach part p0 into temp"
db2 "drop table temp"