创建分区:ALTER TABLE tablename ADD PARTITION statis_month STARTING’201301′
INCLUSIVE ENDING ‘20090102’ INCLUSIVE。
查询分区select * from syscat.datapartitions t where tabschema =模式名 and tabname = 表名
首页 >
创建分区:ALTER TABLE tablename ADD PARTITION statis_month STARTING’201301′
INCLUSIVE ENDING ‘20090102’ INCLUSIVE。
查询分区select * from syscat.datapartitions t where tabschema =模式名 and tabname = 表名