摘要: ###查看linux服务器信息 #查看系统版本信息 cat /proc/version #版本信息配置文件 cat /etc/os-release #查看内容信息 lsmem cat /proc/meminfo #查看cpu信息 lscpu cat /proc/cpuinfo # 查看mysql 的 阅读全文
posted @ 2021-06-05 19:01 iullor 阅读(42) 评论(0) 推荐(0) 编辑
摘要: ###一、行转列listagg函数: ###场景:这里的表数据使用的是oracle默认的scott账户下的emp(员工)表。 规范写法 : LISTAGG(字段, 连接符) WITHIN GROUP (ORDER BY 字段) 通常情况下,LISTAGG是满足需要的,LISTAGG 返回的是一个va 阅读全文
posted @ 2021-06-05 14:36 iullor 阅读(1914) 评论(0) 推荐(0) 编辑
摘要: 需求关联日志,呈现以下效果,使用 ROW_NUMBER() OVER(PARTITION BY ) 函数 排序分组函数 ID 1 2 3 4 5 效果 | 1 | 2 | | | | | 2 | 3 | | 3 | 4 | | 4 | 5 | 日志表图 换床的日志记录 结果表图 ,期待结果 换床前床 阅读全文
posted @ 2021-05-28 16:34 iullor 阅读(195) 评论(0) 推荐(0) 编辑
摘要: ####需求,当符合条件1 修改 A表 或 新增 A表 oracle 写法 语法: merge into 目标表 a using 源表 b on(a.条件字段1=b.条件字段1 and a.条件字段2=b.条件字段2 ……) when matched then update set a.更新字段=b 阅读全文
posted @ 2021-05-28 16:06 iullor 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 1,当一个客户端访问ws服务时,开启一个线程A 处理请求, 2,而后在线程A中 再开启一个线程B 处理业务方法 Future<?> submit = threadPoolTaskExecutor.submit(monitorRunnable); submit.get() 阻塞 A线程 3,submi 阅读全文
posted @ 2021-05-25 10:08 iullor 阅读(1404) 评论(0) 推荐(0) 编辑
摘要: ###GIT 远程clone 代码 ####1,ssh方式 前提,需要配置ssh免密认证 clone 指定分支的代码 git clone ssh://xxx.git --branch branchName clone 指定分支的代码 带用户名密码 git clone http://username: 阅读全文
posted @ 2021-05-15 15:43 iullor 阅读(47) 评论(0) 推荐(0) 编辑
摘要: select * from (select * from 表名 where 条件 order by 排序日期 desc) where rownum=1; select * from (select * from TABLE where STATE = 3 order by TIME desc) wh 阅读全文
posted @ 2021-02-20 11:18 iullor 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: 谢谢老哥 : https://www.cnblogs.com/xiaoxinzi/p/9535866.html ###1:安装axios(建议安装淘宝镜像) npm install axios ###2:项目导入 npm install --save axios vue-axios ###3:页面导 阅读全文
posted @ 2020-08-08 17:33 iullor 阅读(1656) 评论(0) 推荐(0) 编辑
摘要: 感谢老哥,解决了我的疑惑 https://www.cnblogs.com/yscit/p/10376005.html https://www.cnblogs.com/ybhcolin/archive/2013/04/17/3026646.html ###一、概述 Oralce中的任务有2种:Job和 阅读全文
posted @ 2020-07-27 11:01 iullor 阅读(3325) 评论(0) 推荐(0) 编辑
摘要: ###第一种 函数 wm_content('待转列名称') 11g 往后,不推荐使用 ###实例 多表关联时可以使用 (SELECT wm_concat(nvl(B1.OPERA_CODE,'a')) AS OPERA_CODE FROM OPERATION_NAME B1 WHERE T1.OPE 阅读全文
posted @ 2020-07-16 23:41 iullor 阅读(444) 评论(0) 推荐(0) 编辑