美文网首页
MySQL 菜鸟笔记

MySQL 菜鸟笔记

作者: 七秒钟回忆待续 | 来源:发表于2019-12-08 22:49 被阅读0次

    MySQL supports an extension for optionally specifying the display width of integer data types in parentheses following the base keyword for the type. For example, INT(4) specifies an INT with a display width of four digits.

    When used in conjunction with the optional (nonstandard) ZEROFILL attribute, the default padding of spaces is replaced with zeros. For example, for a column declared as INT(4) ZEROFILL, a value of 5 is retrieved as 0005.

    The utf8mb3 character set is deprecated and will be removed in a future MySQL release. Please use utf8mb4 instead. Although utf8 is currently an alias for utf8mb3, at some point utf8 will become a reference to utf8mb4. To avoid ambiguity about the meaning of utf8, consider specifying utf8mb4 explicitly for character set references instead of utf8.

    相关文章

      网友评论

          本文标题:MySQL 菜鸟笔记

          本文链接:https://www.haomeiwen.com/subject/ndevgctx.html