随笔分类 -  mysql

摘要:mysql8 新特性 json数据类型操作 阅读全文
posted @ 2019-06-20 18:15 渔阳nice 阅读(3756) 评论(0) 推荐(0)
摘要:主要使用到DATE_SUB()函数作用:从DATE或DATETIME值中减去时间值(或间隔)。 语法:DATE_SUB(start_date, INTERVAL expr unit); 参数详解: start_date是DATE或DATETIME的起始值。 expr是一个字符串,用于确定从起始日期减 阅读全文
posted @ 2019-04-25 20:18 渔阳nice 阅读(348) 评论(0) 推荐(0)
摘要://http://www.dongcoder.com/detail-1103326.html 阅读全文
posted @ 2019-04-18 17:38 渔阳nice 阅读(91) 评论(0) 推荐(0)
摘要:利用拼接字符串转换point select GeomFromText(CONCAT('POINT(',lng,' ',lat,')')) from community limit 1; 插入字段到新表 create table communityN as select *,GeomFromText( 阅读全文
posted @ 2019-02-25 16:35 渔阳nice 阅读(657) 评论(0) 推荐(0)
摘要:1、查询导入数据存放位置 show variables like '%secure%'; + + + | Variable_name | Value |+ + +| require_secure_transport | OFF || secure_auth | ON || secure_file_p 阅读全文
posted @ 2019-02-19 15:38 渔阳nice 阅读(310) 评论(0) 推荐(0)