随笔分类 -  MySQL

该文被密码保护。
posted @ 2019-05-22 16:17 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
摘要:SELECT DISTINCT (@i :=@i + 1) AS num, -- 设置排序号 b.pb_dl_name, a.* FROM xqxz_familyinfo a LEFT JOIN xqxz_planbuild b ON a.pb_id=b.pk_id, (SELECT @i := 0) AS it -- 设置排序号 阅读全文
posted @ 2019-05-15 11:31 Peter.Jones 阅读(1031) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-05-10 15:16 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
摘要:1. 变更参数 : query_cache_type 如果何配置查询缓存: query_cache_type 这个系统变量控制着查询缓存工能的开启的关闭。query_cache_type=0时表示关闭, 1时表示打开, 2表示只要select 中明确指定SQL_CACHE才缓存。 可通过my.cnf 阅读全文
posted @ 2019-04-27 16:39 Peter.Jones 阅读(726) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-04-18 13:42 Peter.Jones 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-04-17 14:18 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-04-17 11:50 Peter.Jones 阅读(2) 评论(0) 推荐(0) 编辑
摘要:ALTER TABLE t_order_assign_in ADD `operate_id` int(10) NOT NULL COMMENT '操作人id(t_sys_user)', ADD `plat_longitude` varchar(30) DEFAULT NULL COMMENT '签到坐标经度', ADD `plat_dimension` varchar(30... 阅读全文
posted @ 2019-04-12 11:00 Peter.Jones 阅读(611) 评论(0) 推荐(0) 编辑
摘要:#去除回车符号/r/n UPDATE t_week_power_line_loss SET `line_loss_rate` = REPLACE( REPLACE( `line_loss_rate` , CHAR( 10 ) , '' ) , CHAR( 13 ) , '' ) ; UPDATE t_power_site SET `site_name` = REPLACE( REPLACE( `... 阅读全文
posted @ 2019-04-10 14:36 Peter.Jones 阅读(1550) 评论(0) 推荐(1) 编辑
摘要:https://www.cnblogs.com/niejunlei/p/5977895.html Druid源码分析博客 : 博客1 : https://www.cnblogs.com/ZhangZiSheng001/p/12175893.html 源码详解系列(六) 全面讲解druid的使用和源码 阅读全文
posted @ 2019-04-04 22:27 Peter.Jones 阅读(176) 评论(0) 推荐(0) 编辑
摘要:#类型 0:默认 1:黑(0302) 2:白(0110) SELECT * FROM t_power_plat WHERE plat_type=1; UPDATE t_power_plat SET plat_type = ( CASE WHEN plat_type=1 THEN 0302 WHEN plat_type=2 THEN 0110 ELSE NULL END ... 阅读全文
posted @ 2019-04-04 11:14 Peter.Jones 阅读(955) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-03-26 13:06 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-03-26 13:05 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-02-19 11:46 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-02-19 10:16 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-02-11 13:19 Peter.Jones 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2019-01-31 09:46 Peter.Jones 阅读(1) 评论(0) 推荐(0) 编辑
摘要:\"branch\" 即 "branch" 阅读全文
posted @ 2018-12-21 18:53 Peter.Jones 阅读(1009) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2018-12-13 23:09 Peter.Jones 阅读(11) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2018-11-23 18:34 Peter.Jones 阅读(7) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示