当前位置:网站首页>Use Navicat Premium to export database table structure information to Excel
Use Navicat Premium to export database table structure information to Excel
2022-08-11 04:26:00 【A rookie is a god】
Execute sql
SELECTCOLUMN_NAME column name,COLUMN_TYPE data type,DATA_TYPE field type,CHARACTER_MAXIMUM_LENGTH length,IS_NULLABLE is empty,COLUMN_DEFAULT default value,COLUMN_COMMENT CommentsFROMINFORMATION_SCHEMA.COLUMNSWHERE-- Fill in the name of the database to export the table structuretable_schema = 'database'-- table name, fill in the name of the table to be exported-- If not written, query data in all tables by defaultAND table_name = 'tablename';
Note:
database: fill in the database name;tablename: Fill in the table to be exported to excel.
Execution result

Copy result

Click the result, ctrl+a
Copy into excel
Open a blank Excel document, Ctrl+V

边栏推荐
- Read the article, high-performance and predictable data center network
- 《卫星界》刊评“星辰大海”计划:孙宇晨为太空旅游带来新的机遇
- Echart地图的省级,以及所有地市级下载与使用
- 【yolov7系列三】实战从0构建训练自己的数据集
- Get Qt installation information: including installation directory and various macro addresses
- 机器学习怎么学?机器学习流程
- Interchangeability and Measurement Technology—Surface Roughness Selection and Marking Method
- Mysql中事件和定时任务
- 洛谷P1763 埃及分数
- Multi-serial port RS485 industrial gateway BL110
猜你喜欢

What is Machine Reinforcement Learning?What is the principle?

"239 Sliding Window Maximum Value" on the 16th day of LeetCode brushing

【FPGA】名词缩写

How to learn machine learning?machine learning process

0基础转行软件测试,自学3个月,浅拿12k*13薪offer

【FPGA】abbreviation

Echart地图的省级,以及所有地市级下载与使用

如何给网页添加icon图标?
![Binary tree related code questions [more complete] C language](/img/85/a109eed69cd54be3c8290e8dd67b7c.png)
Binary tree related code questions [more complete] C language

破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!
随机推荐
破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!
Introduction to c # a week of high-level programming c # - LINQ Day Four
The custom of the C language types -- -- -- -- -- - structure
1815. 得到新鲜甜甜圈的最多组数 状态压缩
机器学习怎么学?机器学习流程
Which one to choose for mobile map development?
JwsManager service interface implementation class - the jni implementation
Callable实现多线程
shell监视gpu使用情况
华南师范宋宇老师课堂对话论文翻译
Differences and connections between distributed and clustered
Redis:解决分布式高并发修改同一个Key的问题
Get the length of the linked list
【FPGA】设计思路——I2C协议
Will oracle cardinality affect query speed?
Alibaba Cloud releases 3 high-performance computing solutions
直播平台开发,Flutter,Drawer侧滑
洛谷P2150 寿司晚宴
Basic understanding of MongoDB (2)
力扣——青蛙跳台阶问题