当前位置:网站首页>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
边栏推荐
- Self-research capability was recognized again, and Tencent Cloud Database was included in the Forrester Translytical report
- js uses the string as the js execution code
- AVH 动手实践 (二) | 在 Arm 虚拟硬件上部署 PP-OCR 模型
- Mysql中事件和定时任务
- 洛谷P7441 Erinnerung
- Interchangeable Measurement Techniques - Geometric Errors
- 洛谷P2245 星际导航
- leetcode刷题第13天二叉树系列之《98 BST及其验证》
- 什么是机器强化学习?原理是什么?
- [FPGA] Design Ideas - I2C Protocol
猜你喜欢
【组成原理 九 CPU】
leetcode刷题第13天二叉树系列之《98 BST及其验证》
一文读懂 高性能可预期数据中心网络
es-head plugin insert query and conditional query (5)
LeetCode刷题第16天之《239滑动窗口最大值》
(转)JVM中那些区域会发生OOM?
LeetCode刷题第10天字符串系列之《125回文串验证》
使用jackson解析json数据详讲
What is Machine Reinforcement Learning?What is the principle?
Interchangeability and Measurement Technology—Surface Roughness Selection and Marking Method
随机推荐
Map中的getOrDefualt方法
堆排序 和冒泡排序
"239 Sliding Window Maximum Value" on the 16th day of LeetCode brushing
Redis:解决分布式高并发修改同一个Key的问题
MySQL数据库存储引擎以及数据库的创建、修改与删除
redis按照正则批量删除key
【FPGA】day22-SPI协议回环
js 将字符串作为js执行代码使用
校园兼职平台项目反思
【FPGA】SDRAM
【FPGA】day19-二进制转换为十进制(BCD码)
破解事务性工作瓶颈,君子签电子合同释放HR“源动力”!
Callable实现多线程
Alibaba Cloud releases 3 high-performance computing solutions
【yolov7系列三】实战从0构建训练自己的数据集
"104 Maximum Depth of Binary Trees" in LeetCode's Day 12 Binary Tree Series
监听U盘插入 拔出 消息,获得U盘盘符
1815. 得到新鲜甜甜圈的最多组数 状态压缩
shell监视gpu使用情况
【力扣】22.括号生成