摘要: 4. Pivot, Unpivot (参考源) Pivot SELECT * FROM [StudentScores] /*数据源*/ AS P PIVOT ( SUM(Score/*行转列后 列的值*/) FOR p.Subject/*需要行转列的列*/ IN ([语文],[数学],[英语],[生 阅读全文
posted @ 2018-08-02 10:08 h.yl 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1. indirect 函数:返回对应的引用(reference),而不是值 =MAX(INDIRECT("D1:D11")) 单元格当前列自增 =MAX(INDIRECT( ADDRESS(1,COLUMN()) & ":" & ADDRESS(ROW()-1, COLUMN(),4)))+1 2 阅读全文
posted @ 2018-04-22 23:45 h.yl 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1. Javascript Google: https://google.github.io/styleguide/jsguide.html Airbnb:https://github.com/airbnb/javascript 2. Java 阿里巴巴JAVA开发手册 1.3.1 3. 阅读全文
posted @ 2018-04-13 14:30 h.yl 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 2018-07-03 14:24 《不止代码》 如何快速成长为技术大牛?阿里资深技术专家的总结亮了 1 毕业 3 年,为何技术能力相差越来越大? 10 程序员吃的是青春饭?本质上取决于…… 15 技术变化那么快,程序员如何做到不被淘汰? 21 加班越久故障越多,如何跳出程序员的恶性循环? 32 如何 阅读全文
posted @ 2017-12-20 09:49 h.yl 阅读(6233) 评论(0) 推荐(0) 编辑
摘要: 1. 按条件分块取数据 有表A(CD),数据为 要求:当有CD为0的记录时,取得结果为0, 当表中没有CD=0的记录时,取得的结果为1,2,3(将CD<>0的记录都取出来) 可行SQL脚本: 2. Top N 阅读全文
posted @ 2017-09-11 15:08 h.yl 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1. PL/SQL 转义 select order#, ……… from **** select col1 from A where col2 like '%\_keywors%' escape '\'; update A set url = 'homepage.aspx?code=32' || ' 阅读全文
posted @ 2015-02-10 23:25 h.yl 阅读(724) 评论(0) 推荐(0) 编辑
摘要: excel address ( var cr = new CellReference("D5");) 1 var workbook = new XSSFWorkbook(stream); 2 var sheet = workbook.GetSheetAt(0); 3 4 var cr = new C 阅读全文
posted @ 2023-12-06 10:10 h.yl 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2023-06-30 11:58 h.yl 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://www.vultr.com/docs/install-apache-activemq-on-ubuntu-20-04/ Introduction A message broker enables applications to communicate with each o 阅读全文
posted @ 2022-05-20 10:08 h.yl 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://www.woshipm.com/pd/4625140.html SPU和SKU的踩坑总结 一、SPU和SKU的关系 关于SPU和SKU的基础概念的了解,建议大家还是看看一些关于电商的书籍介绍,在此我就不做过多的整理,直接从《电商产品经理兵法:基于SaaS的电商系统设计与实践》 阅读全文
posted @ 2022-05-16 14:31 h.yl 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 1. log config if ($time_iso8601 ~ "^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})") { set $year $1; set $month $2; set $day $3; set $hour $4; set $m 阅读全文
posted @ 2022-05-06 15:26 h.yl 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 前两天在腾讯搞了一个40块钱一年的2核2G服务器(https://curl.qcloud.com/deguZ9EB), 把手头项目陆续做Jenkins的CI、CD,所以第一步先把Jenkins装起来 网上好多教程,都会遇到各种问题,以下是把遇到的问题综合起来,经过多次实验,均可成功安装。如果有问题, 阅读全文
posted @ 2022-03-29 14:19 h.yl 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 启动目录路径一览: 仅对当前用户生效: C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup 开始-运行 shell:startup 对所有用户生效: C:\ProgramData\Micros 阅读全文
posted @ 2021-01-20 11:43 h.yl 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 1. 需求: DB中有表T,已有数据 表x,数据如下 将x数据插入到T中,得到结果为 阅读全文
posted @ 2020-08-04 11:59 h.yl 阅读(119) 评论(0) 推荐(0) 编辑
摘要: C# Object Clone Wars Cloning C# objects is one of those things that appears easy but is actually quite complicated with many "gotchas." This article d 阅读全文
posted @ 2020-07-04 12:43 h.yl 阅读(2516) 评论(0) 推荐(0) 编辑
摘要: Understanding the OVER Clause in SQL Server Wayne Sheffield, 2016-09-30 (first published: 2015-10-14) The OVER clause was added to SQL Server “way bac 阅读全文
posted @ 2020-06-08 16:54 h.yl 阅读(602) 评论(0) 推荐(0) 编辑