上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: //初始化页面数据function initialData() { //顶部时间 $("#txt_date").text(new Date().toLocaleString()); setInterval(function () { $("#txt_date").text(new Date().to 阅读全文
posted @ 2023-03-23 14:06 java璀璨小菜鸟 阅读(61) 评论(0) 推荐(0)
摘要: --DELIMITER $$ CREATE FUNCTION `func_get_split_string_total`( f_string varchar(1000),f_delimiter varchar(5) ) RETURNS int(11) BEGIN -- Get the total n 阅读全文
posted @ 2023-03-15 11:06 java璀璨小菜鸟 阅读(59) 评论(0) 推荐(0)
摘要: BaseContext.getConflictedRemoteUser().getRemoteIpAddress(); 阅读全文
posted @ 2023-03-11 15:02 java璀璨小菜鸟 阅读(24) 评论(0) 推荐(0)
摘要: CREATE DEFINER=`root`@`localhost` FUNCTION `deleteManyChar`(in_str varchar(2000)) RETURNS varchar(2000) CHARSET utf8 COLLATE utf8_unicode_ciBEGIN DECL 阅读全文
posted @ 2023-03-07 17:41 java璀璨小菜鸟 阅读(277) 评论(0) 推荐(0)
摘要: 1.把查询结果用逗号拼接 select group_concat(objname) from humres 2. 把两列的数据拼接在一起 select objname,group_concat(concat_ws('-',id,objname)order by id) as v from humre 阅读全文
posted @ 2023-03-07 14:12 java璀璨小菜鸟 阅读(163) 评论(0) 推荐(0)
摘要: CREATE DEFINER=`root`@`localhost` FUNCTION `deleteManyChar`(in_str varchar(2000)) RETURNS varchar(2000) CHARSET utf8 COLLATE utf8_unicode_ciBEGIN DECL 阅读全文
posted @ 2023-03-07 11:52 java璀璨小菜鸟 阅读(49) 评论(0) 推荐(0)
摘要: 适合场景:多字段拼接,字段间使用同样的拼接符(会自动跳过NULL) 阅读全文
posted @ 2023-03-07 11:50 java璀璨小菜鸟 阅读(73) 评论(0) 推荐(0)
摘要: CREATE DEFINER=`root`@`localhost` FUNCTION `getHRids`(projectid VARCHAR(32),userid VARCHAR(32)) RETURNS varchar(2000) CHARSET utf8BEGINDECLARE projman 阅读全文
posted @ 2023-03-07 11:15 java璀璨小菜鸟 阅读(33) 评论(0) 推荐(0)
摘要: update project pp set extdatefield3=(select a.finisheddate from (select p.id,w.finisheddate from project p INNER JOIN pw_proposal pw on pw.projectid=p 阅读全文
posted @ 2023-02-22 14:21 java璀璨小菜鸟 阅读(172) 评论(0) 推荐(0)
摘要: 用法:group_concat (待拼接对象) 输出:用逗号进行拼接后的字符串 select group_concat(emp_no) as employees from dept_emp; /* 结果: employees | + + | 10001,10002,10003,10004,10005 阅读全文
posted @ 2023-02-15 09:22 java璀璨小菜鸟 阅读(301) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页