![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
佛系人生
这个作者很懒,什么都没留下…
展开
-
MySQL Illegal mix of collations for operation 'like'
MySQL Illegal mix of collations for operation 'like'在 MySQL 5.5 以上, 若字段类型 Type 是 time,date,datetime 在 select时如果使用 like '%中文%' 会出现 Illegal mix of collations for operation 'like'在编程时要对每个字段进行查找,在执行...转载 2018-08-17 14:02:42 · 113 阅读 · 0 评论 -
mysql数据库查询字段太长显示不完全
在查询语句之前引用ET SESSION group_concat_max_len = 10240;Db.update("SET SESSION group_concat_max_len = 10240");getPageData(" select * from ("+docsql+") a UNION ALL select * from ("+deptsql+") b");...原创 2019-07-12 16:32:39 · 3793 阅读 · 0 评论 -
mysql查询速度
SELECT b.billId from com_his_charge_bill b LEFT JOIN com_his_charge_bill_items i on b.billId = i.billId \n" +"where b.regId=r.regId and i.itemType!=17 and i.itemType!=18 and b.ifSettle=1 LIMIT 1...原创 2019-09-17 20:07:33 · 505 阅读 · 0 评论