请查看下面的屏幕截图以查看问题。
问问题
313 次
1 回答
0
The issue is the length/size of the varchar "code" column. MySQL 4 will allow you to insert and query values larger than the allowed size. I don't know about inserting, but for MySQL 5, it doesn't allow you to query specifically for a value larger than the column size.
In MySQL 5 where the code column is a varchar(3), I could do "select * from billing where code = '101'", but not "select * from billing where code = '101.1'".
于 2014-10-02T20:29:02.737 回答