摘要:
mysql 日期操作 增减天数、时间转换、时间戳 http://hi.baidu.com/juntao_li/item/094d78c6ce1aa060f6c95d0b MySQL datediff(date1,date2):两个日期相减 date1 - date2,返回天数。select date 阅读全文
摘要:
MySql 存储过程实例(附完整注释) 将下面的语句复制粘贴可以一次性执行完,我已经测试过,没有问题! MySql存储过程简单实例: /********************* 创建表 *****************************/ delimiter // DROP TABLE i 阅读全文
摘要:
Vagrant Tip: Virtualbox Guest Additions 12 February 2016 Tired of seeing this message when you run vagrant up? ==> default: Machine booted and ready! 阅读全文
摘要:
mysql 通过事件可以实现定时任务 : 1、 检查你的MYSQL是否开了这个功能 show variables like "%scheduler" //注意 最后是er 2、 打开你的MYSQL的计划任务功能 使用这个功能之前必须确保event_scheduler已开启,可执行 SET GLOBA 阅读全文