Login / Register Developer Zone Bugs Home Report a bug Statistics Advanced search Saved searches Tags Bug #73054 CAST function should support INT synonym for SIGNED. i.e. CAST(y AS INT) Submitted: 19 Jun 2014 15:55 Modified: 30 Jun 2014 11:12 Repor…
MySQL 数据类型中的 integer types 有点奇怪.你可能会见到诸如:int(3).int(4).int(8) 之类的 int 数据类型.刚接触 MySQL 的时候,我还以为 int(3) 占用的存储空间比 int(4) 要小, int(4) 占用的存储空间比 int(8) 小. 后来,参看 MySQL 手册,发现自己理解错了. int(M): M indicates the maximum display width for integer types. 在 integer 数据类…