当前位置:网站首页>MySQL export database dictionary to excel file
MySQL export database dictionary to excel file
2022-06-28 05:12:00 【Not the Eight Precepts of the second senior brother】
echo "USE information_schema;
SELECT
-- T.TABLE_SCHEMA AS ' Database name ',
T.TABLE_NAME AS ' The name of the table ',
T.TABLE_COMMENT AS ' Table description ',
-- T.TABLE_TYPE AS ' Table type ',
-- T.ENGINE AS ' Database engine ',
C.COLUMN_NAME AS ' Field name ',
C.COLUMN_COMMENT AS ' Field description ' ,
C.COLUMN_TYPE AS ' data type ',
C.IS_NULLABLE AS ' Allow null ',
C.EXTRA AS ' Self increasing property ',
C.ORDINAL_POSITION AS ' Serial number ',
C.CHARACTER_SET_NAME AS ' Code name ',
C.COLUMN_DEFAULT AS ' The default value is '
FROM
COLUMNS C
INNER JOIN TABLES T ON C.TABLE_SCHEMA = T.TABLE_SCHEMA
AND C.TABLE_NAME = T.TABLE_NAME
WHERE
T.TABLE_SCHEMA = ' Your database name '" | mysql -uroot -p > /var/www/dd.xlsPost code directly Modify the database name and export path to use

边栏推荐
- PHP code wechat, official account and enterprise wechat send emoticons [u+1f449]
- 分享一个因子挖掘的利器:遗传规划
- 摄像头基础知识
- Principle and implementation of SSD for target detection
- 【JVM系列】JVM调优
- Binary sort tree: BST
- 学习太极创客 — MQTT 第二章(四)ESP8266 保留消息应用
- [microservices openfeign] openfeign quick start service invocation based on feign
- 开关电源电压型与电流型控制
- [early knowledge of activities] list of recent activities of livevideostack
猜你喜欢

基于微信小程序的婚纱影楼门户小程序

Biovendor sRAGE protein solution

二级造价工程师证书含金量到底有多高?看这些就知道了

Excel将一行的内容进行复制时,列与列之间是用制表符“\t”进行分隔的

Distributed transaction - Final consistency scheme based on message compensation (local message table, message queue)

wordpress zibll子比主题6.4.1开心版 免授权

吴恩达深度学习测验题:deeplearning.ai-week1-quiz

Operation of simulated examination platform of G3 boiler water treatment recurrent training question bank in 2022

Generate QR code in wechat applet

cgo+gSoap+onvif学习总结:8、arm平台交叉编译运行及常见问题总结
随机推荐
Based on the order flow tool, what can we see?
2022新版nft源码中国元宇宙数字藏品艺术品交易平台源码
Meta universe standard forum established
C语言中函数是什么?编程中的函数与数学中的函数区别?理解编程语言中的函数
How high is the gold content of grade II cost engineer certificate? Just look at this
Lumiprobe细胞成像分析:PKH26 细胞膜标记试剂盒
Reactive dye research: lumiprobe af594 NHS ester, 5-isomer
现代交换原理MOOC部分题目整理
Severe tire damage: the first rock band in the world to broadcast live on the Internet
CpG solid support research: lumiprobe general CpG type II
创新之源 理解通透 二
Unity delegate
Voltage mode and current mode control of switching power supply
2022 safety officer-b certificate examination question bank and answers
Operation of simulated examination platform of G3 boiler water treatment recurrent training question bank in 2022
Learning Tai Chi Maker - mqtt Chapter 2 (V) heartbeat mechanism
DPDK 源码测试时性能下降问题
刘海屏手机在部分页面通过[[UIApplication sharedApplication] delegate].window.safeAreaInsets.bottom得到底部安全区高度为0问题
BioVendor sRAGE抗体解决方案
Performance degradation during dpdk source code testing