03 2021 档案

摘要:select * from pg_stat_activity where datname='dgdb' 阅读全文
posted @ 2021-03-16 11:44 TryMyBest! 阅读(71) 评论(0) 推荐(0) 编辑
摘要:select substring(cast(generate_series as varchar),1,7)bb from generate_series(to_date('2016-04','yyyy-mm'), to_date('2021-03', 'yyyy-mm'), '1 month' : 阅读全文
posted @ 2021-03-04 10:29 TryMyBest! 阅读(347) 评论(0) 推荐(0) 编辑
摘要:ALTER TABLE 表名 Drop constraint 约束名; ALTER TABLE 表名 add constraint 约束名 CHECK 约束条件; 阅读全文
posted @ 2021-03-02 12:45 TryMyBest! 阅读(121) 评论(0) 推荐(0) 编辑