例:

unsigned(无符号) 和zerofill(填充零)的介绍

建立一个表,易见article int(4)后面有 unsigned zerofill  那么这是什么意思呢?

当我们插入数据之后,查看一下表便清楚看见:

unsigned(无符号) 和zerofill(填充零)的介绍

article自动补充了0按照默认的四位格式补零。

所以很明显zerofill的作用就是根据你的默认形式设置来补零,

unsigned的作用就是不能插入负数,如果插入负数默认为零。

相关文章:

  • 2022-12-23
  • 2023-03-13
  • 2021-11-04
  • 2021-12-27
  • 2022-12-23
  • 2021-11-03
  • 2022-12-23
猜你喜欢
  • 2021-07-26
  • 2021-07-14
  • 2021-05-01
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案