What is the maximum size of int(10) in Mysql

前端 未结 3 1831
时光取名叫无心
时光取名叫无心 2021-02-06 21:23

In my database I have declared a variable of datatype Int(10). If I type a number in a textbox in my web page, that number is stored in a variable whose largest val

3条回答
  •  醉梦人生
    2021-02-06 21:59

    An unsigned int has the max value of 4294967295 no matter if its INT(1) or int(10) and will use 4 bytes of data.

    as stated here.

提交回复
热议问题