1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near “) COMMENT “IR”” at line 1
mysql> ALTER TABLE `asd` MODIFY COLUMN `serial_num` int(11) COMMENT “miss”;
Query OK, 0 rows affected
Records: 0 Duplicates: 0 Warnings: 0
为什么本人double带上长度注释语句会报错,本人试了把double的(11)去掉是成功的,很奇怪啊,谁能告诉本人为什么吗
解决方案
20
Double 要带有两个参数(M,D)
分别是总个数和小数位个数
分别是总个数和小数位个数