InnoDB compares CHAR and VARCHAR strings of different lengths such that the remaining length in the shorter string is treated as if padded with spaces. 没有看懂手册里面这句话的含义,单个单词都知道意思,整合在一起理解不了。
解决方案 »
- 关于数据库IO的问题,求助各位高手
- mysql 密码正确,程序运行一段时间后就提示密码不对,重启就好了
- mysql怎么实现oracle这种不等待加锁的问题select... for update no wait的效果?
- PostgreSQL 启动的问题
- mysql in 效率的问题
- Mysql中怎么样去除一个表中完全相同或某些字段相同的记录只留取其中一条呢
- 求助啊少年们。。。要求用mysql写。。。十万火急啊
- Mysql存储过程和数据库脚本
- 【#1424】mysql 如何才可以创建这样一个函数?无限级分类的自动定位
- 请问sqlserver里面怎么将字符串作为列名进行子查询?
- 如何将postgresql重新注册为服务
- 在线求助。急急急。请mysql高手留步
则innodb比较这两个类型的字符串的话 则是'a '和'ab'比较
InnoDB compares CHAR and VARCHAR strings of different lengths//
such that //
the remaining length in the shorter string //
is treated as if padded with spaces.