摘要: public static void updateMtBeginTimeIsSix() { Connection connection = null; CallableStatement cs = null; try { connection = D... 阅读全文
posted @ 2018-11-05 15:16 缘来是妳啊 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 一、MySQL 获得当前日期时间 函数 1.1 获得当前日期+时间(date + time)函数:now() mysql> select now();+---------------------+| now() |+---------------------+... 阅读全文
posted @ 2018-11-05 10:41 缘来是妳啊 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 假如表logstatb中moment字段的内容是"年-月-日 时:分:秒",需要查询匹配“年月日”或“时:分:秒”即可的数据条目,这个时候就可以通过下面的SQL语句实现: select * from logstatb where date_format(mom... 阅读全文
posted @ 2018-11-05 10:39 缘来是妳啊 阅读(285) 评论(0) 推荐(0) 编辑