mysql中 select * from xxx where xxx.ttt like '%~%' 是什么意思
巴扎黑
巴扎黑 2017-04-17 11:03:10
0
3
873

mysql中 select * from xxx where xxx.ttt like '%~%' 是什么意思

数据库编码 GBK

巴扎黑
巴扎黑

reply all(3)
Peter_Zhu

When the database encoding is GBK, there is a bug in mysql, so the sql will not be executed correctly
The specific performance is
Contents containing ~ and containing Y will be searched.

左手右手慢动作

Query the xxx table with fuzzy conditions in the ttt field. .
% represents any character
That means 123~456, abc~def, all of these can meet the conditions

洪涛

RTFM

http://dev.mysql.com/doc/refman/5.6/e...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template