What's the difference in int(11) and int(11) UNSIGNED?

后端 未结 8 812
鱼传尺愫
鱼传尺愫 2020-12-13 08:30

What\'s the difference in int(11) and int(11) UNSIGNED ?

8条回答
  •  甜味超标
    2020-12-13 09:12

    INT goes from -2147483648 to +2147483647
    UNSIGNED INT goes from 0 to 4294967295

    the 11 between the braces has no effect on the number, just how it's displayed.

提交回复
热议问题