标签:mysql form comment table HERE inf 会话 select 导出
直接上sql
select column_name as 字段类型, column_type as 数据类型, data_type as 字段类型, character_maximum_length as 长度, is_nullable as 是否为空, column_default as 默认值, column_comment as 备注 from information_schema.columns where table_schema = ‘数据库名称‘ and table_name = ‘表名称‘
将“数据可名称”和“表名称”改为自己要导出的数据库名称和表名称即可,结果如下:
右键选择“导出表格的行”,跳出下面的会话框
搞定!
mysql数据库表结构导出到Excel中——利用HeidiSQL
标签:mysql form comment table HERE inf 会话 select 导出
原文地址:https://www.cnblogs.com/viavia/p/14956859.html