您现在的位置是: 首页 > 杂七杂八 【代码片段】MySQL 查看数据库所有表注释
【代码片段】MySQL 查看数据库所有表注释
2020-10-11 【杂七杂八】 3595人已围观 6261次浏览
简介【代码片段】MySQL 查看数据库所有表注释
项目开发周期长了或忘记当初建表时该表的用途,可以通过下面的SQL查询当前数据库所有表的表说明(如果建表都没写表说明,那就没办法了)
SELECT
table_name,-- 表名
table_comment-- 表说明
FROM
information_schema.TABLES
WHERE
table_schema = '数据库名'
ORDER BY
table_name
很赞哦! (0)
点击排行
- Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: ERR DISABLE You can't write or read against a disable instance
- Debian apt 使用国内镜像
- RocketMQ 出现 sendDefaultImpl call timeout 问题
- 类 BASE64Decoder 程序包 sun.misc 找不到符号
- SpringBoot @NotBlank 不生效问题
- 记一次 Mybatis-Plus 自动填充无效问题解决
- SpringBoot 2.x 文件上传出现 The field file exceeds its maximum permitted size of 1048576 bytes
- nuxt 项目完整部署方案
站长推荐
猜你喜欢
- Laravel Dingo/api 出现 The version given was unknown or has no registered routes.报错
- Linux 修改默认的 ssh 22 端口
- Nginx转发阿里云OSS内网流量
- Laravel项目出现could not be opened: failed to open stream: Permission denied
- 【代码片段】MySQL新建表添加基础字段
- Vue 路由跳转后不在顶部
- mybatis中大于等于小于等于的写法
- LNMP定时备份任务教程(支持排除指定文件夹)
- Oracle ORA-12541:TNS:no listener错误解决方法
- SpringBoot 集成 Elasticsearch 7.8.1 出现错误 Factory method 'elasticsearchRestHighLevelClient' threw exception; nested exception is java.lang.NoSuchFieldError: IGNORE_DEPRECATIONS