
msyql
ws04170099
这个作者很懒,什么都没留下…
展开
-
msyql的存储过程
drop procedure if exists `procedure_name`; delimiter // create procedure `procedure_name`() begin if not exists(select 1 from information_schema.columns where table_name='WB_Sys_Role' and c...2012-02-22 11:35:11 · 109 阅读 · 0 评论 -
sql分组查询最大值
CREATE TABLE `Sys_Comment` ( `CommentID` varchar(50) NOT NULL COMMENT '评论ID', `commentUserID` varchar(50) DEFAULT NULL COMMENT '评论人ID', `commentCompanyID` varchar(50) DEFAULT NULL COMMENT '...原创 2015-06-10 17:50:25 · 1471 阅读 · 0 评论 -
mysql中格式化日期详解
DATE_FORMAT() 函数用于以不同的格式显示日期/时间数据。 1 DATE_FORMAT(date,format) format参数的格式有 %a 缩写星期名 %b 缩写月名 %c 月,数值 %D 带有英文前缀的月中的天 %d 月的天,数值(00-31) %e 月的...原创 2017-04-07 15:09:39 · 257 阅读 · 0 评论