当前位置:网站首页>mysql 获取字段注释 和获取表字段
mysql 获取字段注释 和获取表字段
2022-07-29 19:44:00 【不知道反正就是挺叼】
获取字段类型和注释
Select COLUMN_NAME 列名, DATA_TYPE 字段类型, COLUMN_COMMENT 字段注释
from INFORMATION_SCHEMA.COLUMNS
Where table_name = 'table'##表名
AND table_schema = 'db_name'##数据库名
AND column_name LIKE 'id'##字段名获取表字段
select group_concat(column_name) as column_name from information_schema.columns where table_name = 'table名字' and table_schema='db数据库名字';边栏推荐
- Agile Organization | The path for enterprises to overcome the impact of the digital wave
- swagger @ApiModel @ApiModelProperty注解属性说明「建议收藏」
- 经验分享|编写简单易用的在线产品手册小妙招
- 线程池 ThreadPoolExecutor 详解
- 腾讯安全发布 Tencent Cloud EdgeOne,为企业出海打造安全加速一体化服务
- Expert advice | How to formulate a growth strategy for survival in an economic downturn
- JS实现倒计时代码实例「建议收藏」
- Is Apifox free?Completely free, unlimited team size, unlimited functions
- [数学基础]线性代数相关概念学习
- updatexml, extractvalue and floor error injection principle
猜你喜欢
随机推荐
Detailed explanation of design ideas of webUI test framework
Omni-channel e-commerce | How can well-known domestic cosmeceuticals seize the opportunity to achieve rapid growth?
荣耀的野望:智慧世界的“高端平民”
要卖课、要带货,知识付费系统帮你一步搞定!
JSP Servlet JDBC MySQL CRUD 示例教程
GNOME将在Secure Boot被禁用时向用户发出警告 并准备提供安全帮助
C language advanced enumeration and joint
微信支付接口
这半年我做交易链路自动化回归的那些事儿...
Kubernetes: (4) Common commands
TDengine 落地协鑫能科,数百亿数据压缩至 600GB
m10
ESP8266-Arduino编程实例-LittleFS及数据上传
updatexml, extractvalue and floor error injection principle
Experience Sharing | Tips for Writing Easy-to-Use Online Product Manuals
Experience Sharing | Tips for Writing Easy-to-Use Online Product Manuals
Safe Browser will have these hidden features that will let you play around with your browser
Chrome——插件推荐
C language learning books (improvement)
etcd implements large-scale service governance application combat








