当前位置:网站首页>Navicat exports Mysql to table structure and field description
Navicat exports Mysql to table structure and field description
2022-07-27 04:20:00 【Supersonic 6】
Creation time :2022 year 7 month 26 Japan 18:17:08
Query data
SELECT
COLUMN_NAME Name ,
COLUMN_TYPE data type ,
DATA_TYPE Field type ,
CHARACTER_MAXIMUM_LENGTH length ,
IS_NULLABLE Is it empty ,
COLUMN_DEFAULT The default value is ,
COLUMN_COMMENT remarks
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE-- monitor For database name , At that time, you only need to modify the database to export the table structure
table_schema = 'monitor'
AND -- tb_serverinfo Is the name of the watch , Then change to the name of the table you want to export
-- If not , Data in all tables will be queried by default , In this way, you may not know which fields are in which table , Therefore, it is recommended to write the name of the to be exported
table_name = 'tb_serverinfo'
The operation after query is as shown in the following figure

Reference article :https://wenku.baidu.com/view/e38516feae51f01dc281e53a580216fc710a535b.html
边栏推荐
- Learning route from junior programmer to architect + complete version of supporting learning resources
- Project time zone problem solving
- MySQL: understand the basic knowledge of MySQL and computer
- What is the principle difference between lateinit and lazy in kotlin
- [untitled]
- Cool Lehman VR panorama paves the way for you to start a business
- leetcode每日一题:数组的相对排序
- The 100th of the commercial anti counterfeiting series - boring systems and management processes can really be thrown into the trash can - by the way, analyze a dozen useless unity game self-test proj
- 标准C语言11
- 288 page 180000 word intelligent campus overall design directory
猜你喜欢

Redis (IX) - redis distributed lock

Skywalking distributed system application performance monitoring tool - medium

Learning route from junior programmer to architect + complete version of supporting learning resources

Session&Cookie&token

list模拟实现

零基础小白也能懂的 Redis 数据库,手把手教你易学易用!

Five basic data structures of redis

Principle of bean validation --07

技术分享 | 需要小心配置的 gtid_mode

「Gonna Be Alright 会好的」数藏现已开售!感受艺术家的心灵共鸣
随机推荐
新互联网时代已来 WEB 3.0 会给我们带来哪些新机遇
JS array de duplication (including simple array de duplication and object array de duplication)
搜索旋转排序数组
The 100th of the commercial anti counterfeiting series - boring systems and management processes can really be thrown into the trash can - by the way, analyze a dozen useless unity game self-test proj
PX4模块设计之十二:High Resolution Timer设计
Ant JD Sina 10 architects 424 page masterpiece in-depth distributed cache from principle to practice pdf
Subject 3: Jinan Zhangqiu line 3
Nacos启动与登录
【机器学习网络】BP神经网络与深度学习-6 深度神经网络(deep neural Networks DNN)
Nonlinear optimal tracking control based on wind energy conversion system (realized by matlab code)
288页18万字智能化校园总体设计 目录
JMeter学习笔记004-CSV文件行数控制循环次数
E-commerce system combined with commodity spike activities, VR panorama continues to bring benefits
Leetcode daily exercise: sort sentences
通信协议综述
Rust:axum learning notes (1) Hello World
【OBS】circlebuf
零基础小白也能懂的 Redis 数据库,手把手教你易学易用!
Restful fast request 2022.2.2 release, supporting batch export of documents
第二轮Okaleido Tiger即将登录Binance NFT,或持续创造销售神绩