当前位置:网站首页>MySQL根据备注查询表、字段
MySQL根据备注查询表、字段
2022-07-24 10:59:00 【风铃峰顶】
MySQL的INFORMATION_SCHEMA库中有存储表、列等信息的表:TABLES、COLUMNS等。
在数据模型文档遗漏、过时、错误时,可以根据建表时表、列的备注找到表、字段。
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_COMMENT like “%名称%”
INFORMATION_SCHEMA库中的表:
SCHEMATA表
TABLES表
COLUMNS表
STATISTICS表
USER_PRIVILEGES表
SCHEMA_PRIVILEGES表
TABLE_PRIVILEGES表
COLUMN_PRIVILEGES表
CHARACTER_SETS表
COLLATIONS表
COLLATION_CHARACTER_SET_APPLICABILITY表
TABLE_CONSTRAINTS表
KEY_COLUMN_USAGE表
ROUTINES表
VIEWS表
TRIGGERS表
边栏推荐
- Zero basic learning canoe panel (4) -- button
- 零基础学习CANoe Panel(7)—— 开关/显示控件(Input/Output Box )
- Analysis of Lagrange multiplier method and its duality
- 测试左移和测试右移,我们为何要“上下求索”?
- 零基础学习CANoe Panel(4)——按钮(Button )
- NLP introduction + practice: Chapter 2: introduction to pytorch
- Binlog and iptables prevent nmap scanning, xtrabackup full + incremental backup, and the relationship between redlog and binlog
- Array element removal problem
- Zero basic learning canoe panel (9) -- combobox
- Simply use MySQL index
猜你喜欢

零基础学习CANoe Panel(10)—— 复选框(CheckBox)

Real time weather API

【直播报名】Location Cache 模块浅析及 OCP 监控、报警详解

神器 ffmpeg —— 操作视频,极度舒适

1184. 公交站间的距离 : 简单模拟题

零基础学习CANoe Panel(8)—— 数据/文本编辑控件(Hex/Text Editor )

Hash, bitmap and bloom filter for mass data De duplication

Artifact ffmpeg - operation video, extremely comfortable

Read the triode easily. It turns out that it works like this

Signal processing: < three > DFT and FFT
随机推荐
划分数据2
5个最佳WordPress广告插件
Qt创建应用程序托盘及相关功能
Zero basic learning canoe panel (8) -- hex/text editor
Call bind apply simple summary
Detailed explanation of the implementation process of redistribution watchdog
[interview: Basics 05: quick sort]
Rtklib source code, RTK difference calculation, rtkpos and replos function process sorting
Signal processing: < three > DFT and FFT
After the QT program minimizes the tray, a msgbox pops up. Click OK and the program exits. The problem is solved
Golang Li Kou leetcode 494. goals and
Web salted fish self rescue strategy -- typescript classes are not as difficult as you think
Daily three questions 7.21
Working principle and function application of frequency converter
向量化引擎对HTAP的价值与技术思考
MySQL - multi column index
实时天气API
The difference between Lora wireless technology and lorawan gateway module
web咸鱼自救攻略--typescript的类没有你想象中的那么难
I admire a Google boss very much, and he left..