随笔分类 -  Mysql

摘要:https://dev.mysql.com/downloads/windows/installer/8.0.html 阅读全文
posted @ 2020-12-19 18:21 乌卡拉卡 阅读(937) 评论(0) 推荐(0)
摘要:今天是 SELECT NOW();-- 2015-09-28 13:48:12 查询当天,格式为YYYY-MM-DD SELECT CURDATE();-- 2015-09-28 查询当天,格式为YYYY-MM-DD HH:mm:ss SELECT NOW();-- 2015-09-28 13:42 阅读全文
posted @ 2020-12-14 17:33 乌卡拉卡 阅读(4418) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/geaozhang/p/6819648.html MySQL触发器trigger的使用 阅读目录:触发器trigger的使用 创建触发器 单一执行语句、多执行语句 new、old详解 查看触发器 删除触发器:慎用触发器,不用就删除 Q:什么是触发器? 阅读全文
posted @ 2020-09-15 09:00 乌卡拉卡 阅读(214) 评论(0) 推荐(0)
摘要:MySQL datediff(date1,date2):两个日期相减 date1 - date2,返回天数。 select datediff('2008-08-08', '2008-08-01'); -- 7 select datediff('2008-08-01', '2008-08-08'); 阅读全文
posted @ 2020-06-29 14:47 乌卡拉卡 阅读(382) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/xuehuai/archive/2011/12/24/2300382.html 阅读全文
posted @ 2020-05-04 10:18 乌卡拉卡 阅读(320) 评论(0) 推荐(0)
摘要:using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using 阅读全文
posted @ 2020-04-28 15:27 乌卡拉卡 阅读(347) 评论(0) 推荐(0)