当前位置:网站首页>Mysql获取表信息
Mysql获取表信息
2022-06-29 10:00:00 【绅士jiejie】
获取所有的表信息,参考sql
SELECT
TABLE_NAME,//表名
TABLE_COMMENT //表注释
FROM
INFORMATION_SCHEMA.TABLES
获取指定数据库下的表信息,参考sql
SELECT
TABLE_NAME,//表名
TABLE_COMMENT //表注释
FROM
INFORMATION_SCHEMA.TABLES
WHERE
TABLE_SCHEMA = '数据库名'
边栏推荐
猜你喜欢

Fully understand the MESI cache consistency protocol

基于STM32+RFID设计的宿舍检修管理系统

(JS)数组去除重复

# 【OpenCV 例程200篇】214. 绘制椭圆的参数详解

励志!专科“逆袭”读浙大硕士,3篇SCI,最终成清华博士!

【C语言进阶】字符串和内存函数(一)

【C语言进阶】特殊自定义类型

Creating postgre enterprise database by ArcGIS

30-year-old female, ordinary software testing Yuanyuan, confused and anxious about her career

Real test = "half product + Half development"?
随机推荐
Software test model (V model and W model)
高效工作必备:测试人如何提高沟通技能?
Luoqingqi: has high-end household appliances become a red sea? Casati took the lead in breaking the game
美国EB-5移民再现利好,区域中心再授权政策被叫停
Automatic 3D Detection and Segmentation of Head and Neck Cancer from MRI Data.
Free books! The best-selling book "Introduction and practice of OpenCV image processing" has been completed
“AI x 科学计算”进行时,华为昇思 MindSpore 赛题火热开启,等你来!
MySQL查询时如何找出错误格式的手机号
他98年的,我玩不过他...
JS post download file
The use and difference of watch listening and computed calculation attributes
UserWarning: Usage of dash-separated ‘script-dir‘ will not be supported in future versions. note
Print 9*9 multiplication formula table (C language)
Essential for efficient work: how can testers improve their communication skills?
Binary tree
BUUCTF RE-easyre
学习通否认 QQ 号被盗与其有关:已报案;iPhone 14 量产工作就绪:四款齐发;简洁优雅的软件早已是明日黄花|极客头条...
在线SQL转HTMLTable工具
(JS)模仿indexOf方法寻找字符串中某个字符的位置
嵌入式学习书籍推荐[通俗易懂]