muyege
V2EX  ›  问与答

使用 mysql 查询汉字准确性问题

  •  
  •   muyege · May 17, 2016 · 1808 views
    This topic created in 3658 days ago, the information mentioned may be changed or developed.

    表中有个字段 name,值为"宋",但是查找的时候却把"商"也查了出来,该字段是 varchar 类型的,utf8 编码,Mysql 是 5.0,网上说的使用 locate 和 BINARY 都没用,有人遇到过这种问题吗?求解答

    1 replies    2016-05-17 19:49:43 +08:00
    armoni
        1
    armoni  
       May 17, 2016
    贴出表结构和 sql 语句、结果集
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2464 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 01:08 · PVG 09:08 · LAX 18:08 · JFK 21:08
    ♥ Do have faith in what you're doing.