db2分区相关操作

删除指定日期分区表

-- t_log={data_dt, content} ,part20220101=分区名称
-- 分离分区
alter table t_log detach partition part20220101 into t_log_20220101;
-- 删除分离出来的表
drop table t_log_20220101;
-- 查看分区
select * from syscat.datapartition where tabname = 't_log';
posted @   springff  阅读(205)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· 字符编码:从基础到乱码解决
· 提示词工程——AI应用必不可少的技术
点击右上角即可分享
微信分享提示