摘要: 〇、参考链接 一、为表创建指定分区 -- 表创建分区 参数 表名 分区序列 例如: ltc_customer , 20220915 则创建 ltc_customer_20220915 分区表 CREATE or replace FUNCTION createPartitionIfNotExists 阅读全文
posted @ 2022-09-26 19:23 哥们要飞 阅读(1351) 评论(0) 推荐(0)
摘要: 〇、资料链接 一、背景 构建分区表时,删除了表的字段备注信息 1、查询语句 select c.relname 表名, cast ( obj_description (relfilenode, 'pg_class') as varchar ) 名称, d.description 字段备注, a.att 阅读全文
posted @ 2022-09-26 19:18 哥们要飞 阅读(221) 评论(0) 推荐(0)