mysql int(3)與int(11)的區別

總結,int(M) zerofill,加上zerofill後M才表現出有點點效果,好比 int(3) zerofill,你插入到數據庫裏的是10,則實際插入爲010,也就是在前面補充加了一個0.若是int(3)和int(10)不加zerofill,則它們沒有什麼區別.M不是用來限制int個數的.int(M)的最大值和最小值與undesigned有關,最下面那副圖有說明.html mysql> cr
相關文章
相關標籤/搜索