Skip to content

Section 8: Data Type之数值类型 #17

Open
@bestmem

Description

@bestmem

问题描述

在 MySQL 8 中,使用 DESCRIBE 命令查看表的结构时,INT 类型的字段不再显示占用的宽度信息(即使使用INT(2)指定)。但是实际与MySQL 7中占用宽度相同,讲解时可结合zerofill来显式展示其作用。
image

问题发生在第几章第几节

  1. Integer Types整数类型
    image

有解决办法么?

No response

测试用的Mysql版本

MySQL 8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions