MySQL

1、数据类型
https://www.tutorialspoint.com/mysql/mysql-data-types.htm

2、int长度的意义
https://blog.csdn.net/tiansidehao/article/details/78981968
MySQL中,采集int类型元数据字段信息时,不能找到【显示长度】,解决方案:

<1> select * from information_schema.`COLUMNS`t;
https://dev.mysql.com/doc/refman/5.6/en/information-schema.html

找出COLUMN_TYPE值,解析即可。
<2> show COLUMNS from 表名称;
https://dev.mysql.com/doc/refman/8.0/en/show-columns.html
找出TYPE值,解析即可。

补充: https://answer-id.com/53589257

  

posted @ 2019-03-29 16:33  lvlin241  阅读(107)  评论(0编辑  收藏  举报