当前位置:网站首页>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表
边栏推荐
- How to gracefully realize idempotency and distributed current limiting of distributed interfaces (glory Collection Edition)
- 零基础学习CANoe Panel(9)—— 组合框(ComboBox)
- Zero basic learning canoe panel (4) -- button
- web咸鱼自救攻略--typescript的类没有你想象中的那么难
- MySQL - update data records in tables
- 【攻防世界WEB】难度五星15分进阶题:ics-07
- Zero basic learning canoe panel (9) -- combobox
- Problem solving -- question 283 of leetcode question bank
- 蓝牙技术的发展与历程
- [FPGA]: IP core ibert
猜你喜欢

「低功耗蓝牙模块」主从一体 蓝牙嗅探-助力智能门锁

Qt创建应用程序托盘及相关功能

5个最佳WordPress广告插件

Windows virtual machine security reinforcement process steps, detailed description of windows setting security policy, detailed description of win7 setting IP security policy, windows setting firewall

I admire a Google boss very much, and he left..

Five best WordPress advertising plug-ins

在idea中System.getProperty(“user.dir“)识别到模块(module)路径的方法:Working directory的设置

浅析拉格朗日乘数法及其对偶问题

Read the triode easily. It turns out that it works like this
![[white hat talks about web security] Chapter 2 browser security](/img/dc/3640da863f9e5e527c9de27e55e99c.png)
[white hat talks about web security] Chapter 2 browser security
随机推荐
零基础学习CANoe Panel(7)—— 开关/显示控件(Input/Output Box )
Working principle and function application of frequency converter
Talk about new congestion control
QT create application tray and related functions
[dish of learning notes dog learning C] initial level of pointer
Daily three questions 7.21
PC Museum (2) 1972 hp-9830a
N-tree, page_ Size, database strict mode modification, and the difference between delete and drop in the database
[white hat talks about web security] Chapter 2 browser security
Redismission watchdog implementation mechanism can be understood at a glance
[FPGA]: IP core DDS
Scope usage in POM file dependency
read_csv 报错:‘gbk‘ codec can‘t decode byte 0xb4 in position 274: illegal multibyte sequence
[FPGA]: IP core -- xadc
Golang Li Kou leetcode 494. goals and
向量化引擎对HTAP的价值与技术思考
Qt程序最小化托盘后,再弹出个msgbox,点击确定后程序退出问题解决
零基础学习CANoe Panel(4)——按钮(Button )
Take care of me when I meet you for the first time
划分数据1