2019年11月26日

mysql 杂记 —— 时区问题

摘要: 查看时区: 输出 分析: 这里有两个变量,其中 time_zone 是指 mysql 数据库的时区。默认为 SYSTEM,即等于服务器的系统时区。 system_time_zone 表示系统时区,因为我们的系统服务器是在中国,system_time_zone 为 CST(China Standard 阅读全文

posted @ 2019-11-26 15:11 Lemo_wd 阅读(455) 评论(0) 推荐(0)

postgresql —— 表的继承

摘要: 示例: CREATE TABLE cities ( --父表 name text, population float, altitude int ); CREATE TABLE capitals ( --子表 state char(2) ) INHERITS (cities); 特征: 子表拥有父表 阅读全文

posted @ 2019-11-26 11:18 Lemo_wd 阅读(756) 评论(0) 推荐(0)

导航