上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 39 下一页
摘要: 如为8.0以上版本,可以直接使用原生的json解析器处理,低版本不支持 set @fild='"},{"'; SELECT t1.id ,t2.num_rn ,substring_index(substring_index(t1.image_file,@fild, t2.num_rn + 1), ' 阅读全文
posted @ 2020-04-03 11:33 chenzechao 阅读(1691) 评论(0) 推荐(0)
摘要: -- oracle select substr(md5(key_id),1,1) as flag ,count(1) as cnt from ( select 1 as key_id union all select 2 as key_id union all select 3 as key_id 阅读全文
posted @ 2020-03-31 22:33 chenzechao 阅读(417) 评论(0) 推荐(0)
摘要: https://help.aliyun.com/knowledge_detail/41751.html?spm=5176.10695662.1996646101.searchclickresult.52cf1441JfXe4V 在导出数据时报错 ERROR: Could not construct 阅读全文
posted @ 2020-03-30 15:19 chenzechao 阅读(682) 评论(0) 推荐(0)
摘要: 1. 通过查询是否有DDL或DML操作语句,因为锁表正常都是这两种导致的 2. 查询show processlist 3. 找到相应的语句,执行kill 阅读全文
posted @ 2020-03-22 21:28 chenzechao 阅读(537) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/kawashibara/p/8961646.html 阅读全文
posted @ 2020-03-21 22:41 chenzechao 阅读(379) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- import datetime import sys,time import sys from odps import options import smtplib from email.header import Header from email. 阅读全文
posted @ 2020-03-16 09:20 chenzechao 阅读(908) 评论(0) 推荐(0)
摘要: logstash将不同数据源输出到不同的地方https://www.orchome.com/485 阅读全文
posted @ 2020-02-05 09:36 chenzechao 阅读(601) 评论(0) 推荐(0)
摘要: # 1. 开始 >运行 >cmd,或者是window+R组合键,调出命令窗口 # 2. 找出占用端口的PID netstat -aon|findstr "8080" # 3. 根据PID找出程序名 tasklist|findstr "21300"# 4. 结束程序(建议用pid) taskkill 阅读全文
posted @ 2020-01-17 15:17 chenzechao 阅读(146) 评论(0) 推荐(0)
摘要: select name ,greatest(num1,num2,num3,num4) as max_num -- 最大值 ,least(num1,num2,num3,num4) as min_num -- 最小值 from ( select 'a' as name,1 as num1, 3 as num2, 2 as num3,4 as num4 ) t1 ; 阅读全文
posted @ 2019-12-19 16:39 chenzechao 阅读(806) 评论(0) 推荐(0)
摘要: 列转行 SELECT flag ,substring_index(substring_index(t.context,',', b.help_topic_id + 1), ',', -1) as result FROM ( select 'aa' as flag,'1,2,3,4,5,6,7' as 阅读全文
posted @ 2019-12-17 15:21 chenzechao 阅读(1601) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 39 下一页