3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MySQLのint(?)の?の意味

3
Posted at

勘違いしてたというか、よくわかってなかったのでメモしておく.

一言でいうと、?は表示できる文字(数字)列幅のこと.
?の数字に関係なくintなら4バイトの数値型なので、int(4)だろうと、int(11)だろうと、
-2147483648(Min) ~ 2147483647(Max)の間の数であることに変わりはない.

thanks:
http://blog.clouder.jp/blog/2005/04/26/mysqlint1111/

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?