随笔分类 - mysql
摘要:mysql8 新特性 json数据类型操作
阅读全文
摘要:主要使用到DATE_SUB()函数作用:从DATE或DATETIME值中减去时间值(或间隔)。 语法:DATE_SUB(start_date, INTERVAL expr unit); 参数详解: start_date是DATE或DATETIME的起始值。 expr是一个字符串,用于确定从起始日期减
阅读全文
摘要://http://www.dongcoder.com/detail-1103326.html
阅读全文
摘要:利用拼接字符串转换point select GeomFromText(CONCAT('POINT(',lng,' ',lat,')')) from community limit 1; 插入字段到新表 create table communityN as select *,GeomFromText(
阅读全文
摘要:1、查询导入数据存放位置 show variables like '%secure%'; + + + | Variable_name | Value |+ + +| require_secure_transport | OFF || secure_auth | ON || secure_file_p
阅读全文

浙公网安备 33010602011771号