添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

For integer data types, M indicates the maximum display width. The maximum display width is 255. Display width is unrelated to the range of values a type can store

说明 int(M) 中的 M 是显示宽度, 不会影响类型的取值范围.

int(10) int(11) 取值范围 没有区别,

bigint(11) bigint(20) 取值范围 没有区别

建表时, 直接写 int/bigint 就行了.

learnku.com/articles/36…

dev.mysql.com/doc/refman/…

粉丝